confile: config_stopsignal()

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