Skip to content

Commit

Permalink
confile: cleanup set_config_monitor()
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 15, 2020
1 parent ef28a72 commit ae09f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -1249,7 +1249,7 @@ static int set_config_monitor(const char *key, const char *value,
if (strcmp(key + 12, "unshare") == 0)
return lxc_safe_uint(value, &lxc_conf->monitor_unshare);

return -1;
return ret_errno(EINVAL);
}

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

0 comments on commit ae09f61

Please sign in to comment.