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

confile: config_haltsignal()

parent dc36a30a
...@@ -1496,9 +1496,13 @@ static int config_haltsignal(const char *key, const char *value, ...@@ -1496,9 +1496,13 @@ static int config_haltsignal(const char *key, const char *value,
{ {
int sig_n; int sig_n;
if (config_value_empty(value)) /* Set config value to default. */
if (config_value_empty(value)) {
lxc_conf->haltsignal = 0;
return 0; return 0;
}
/* Parse new config value. */
sig_n = sig_parse(value); sig_n = sig_parse(value);
if (sig_n < 0) if (sig_n < 0)
......
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