Skip to content

Commit

Permalink
conf: do not run the "mount" hooks twice
Browse files Browse the repository at this point in the history
Regression introduced by 8353b4c

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
  • Loading branch information
flx42 committed Mar 14, 2018
1 parent 55fc780 commit 1a2cf89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/conf.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1a2cf89

Please sign in to comment.