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

confile: config_stopsignal()

parent 93ee435a
...@@ -1537,9 +1537,13 @@ static int config_stopsignal(const char *key, const char *value, ...@@ -1537,9 +1537,13 @@ static int config_stopsignal(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->stopsignal = 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)
return -1; 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