mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-14 09:05:44 +00:00
confile: config_haltsignal()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
1045031e34
commit
c1a6460355
@ -1580,9 +1580,13 @@ static int config_haltsignal(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->haltsignal = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Parse new config value. */
|
||||
sig_n = sig_parse(value);
|
||||
|
||||
if (sig_n < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user