confile: config_syslog()

parent 78304622
...@@ -3293,6 +3293,10 @@ static int config_syslog(const char *key, const char *value, ...@@ -3293,6 +3293,10 @@ static int config_syslog(const char *key, const char *value,
struct lxc_conf *lxc_conf) struct lxc_conf *lxc_conf)
{ {
int facility; int facility;
if (config_value_empty(value))
return 0;
facility = lxc_syslog_priority_to_int(value); facility = lxc_syslog_priority_to_int(value);
if (facility == -EINVAL) { if (facility == -EINVAL) {
ERROR("Wrong value for lxc.syslog."); ERROR("Wrong value for lxc.syslog.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment