Unverified Commit d86a9570 by Christian Brauner Committed by Stéphane Graber

confile: config_haltsignal()

parent 6a270659
...@@ -1281,6 +1281,9 @@ static int config_haltsignal(const char *key, const char *value, ...@@ -1281,6 +1281,9 @@ static int config_haltsignal(const char *key, const char *value,
{ {
int sig_n = sig_parse(value); int sig_n = sig_parse(value);
if (config_value_empty(value))
return 0;
if (sig_n < 0) if (sig_n < 0)
return -1; return -1;
lxc_conf->haltsignal = sig_n; lxc_conf->haltsignal = sig_n;
......
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