confile: config_haltsignal()

parent 1045031e
...@@ -1580,9 +1580,13 @@ static int config_haltsignal(const char *key, const char *value, ...@@ -1580,9 +1580,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