mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 09:35:31 +00:00
Merge pull request #2217 from flx42/fix-mount-hooks-double-call
conf: do not run the "mount" hooks twice
This commit is contained in:
commit
d61bda5fcb
@ -3368,7 +3368,7 @@ int lxc_setup(struct lxc_handler *handler)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = run_lxc_hooks(name, "mount", lxc_conf, NULL);
|
ret = run_lxc_hooks(name, "mount", lxc_conf, NULL);
|
||||||
if (run_lxc_hooks(name, "mount", lxc_conf, NULL)) {
|
if (ret < 0) {
|
||||||
ERROR("Failed to run mount hooks");
|
ERROR("Failed to run mount hooks");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user