mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-02 17:37:17 +00:00
confile: config_hook()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
114df19ee1
commit
03d88f7c5e
@ -1184,7 +1184,7 @@ static int config_hook(const char *key, const char *value,
|
||||
{
|
||||
char *copy;
|
||||
|
||||
if (!value || strlen(value) == 0)
|
||||
if (config_value_empty(value))
|
||||
return lxc_clear_hooks(lxc_conf, key);
|
||||
|
||||
if (strcmp(key, "lxc.hook") == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user