mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 00:09:52 +00:00
conf: do not run the "mount" hooks twice
Regression introduced by 8353b4c90e
Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
This commit is contained in:
parent
55fc780b23
commit
1a2cf89d99
@ -3368,7 +3368,7 @@ int lxc_setup(struct lxc_handler *handler)
|
||||
}
|
||||
|
||||
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");
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user