Skip to content

Commit

Permalink
confile: cleanup set_config_monitor_signal_pdeath()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Dec 8, 2020
1 parent e166597 commit cb5f3df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/confile.c
Expand Up @@ -1346,13 +1346,13 @@ static int set_config_monitor_signal_pdeath(const char *key, const char *value,

sig_n = sig_parse(value);
if (sig_n < 0)
return -1;
return ret_errno(EINVAL);

lxc_conf->monitor_signal_pdeath = sig_n;
return 0;
}

return -EINVAL;
return ret_errno(EINVAL);
}

static int set_config_group(const char *key, const char *value,
Expand Down

0 comments on commit cb5f3df

Please sign in to comment.