Unverified Commit d61bda5f by Christian Brauner Committed by GitHub

Merge pull request #2217 from flx42/fix-mount-hooks-double-call

conf: do not run the "mount" hooks twice
parents 55fc780b 1a2cf89d
...@@ -3368,7 +3368,7 @@ int lxc_setup(struct lxc_handler *handler) ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment