summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2015-02-25 16:36:47 +0000
committerAlasdair G Kergon <agk@redhat.com>2015-02-25 16:36:47 +0000
commit4ff9abd01f60e3bfe433da5596078a12fb49f9eb (patch)
treed9495c3076649235e52773ec6019206c2abc75ca
parent1e59c0346a3d9f5d125708529bd6d2ff4d0a16d5 (diff)
downloadlvm2-4ff9abd01f60e3bfe433da5596078a12fb49f9eb.tar.gz
toolcontext: Fix lvmlocal.conf load fail path.
-rw-r--r--lib/commands/toolcontext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c
index c917b0aef..1936ea707 100644
--- a/lib/commands/toolcontext.c
+++ b/lib/commands/toolcontext.c
@@ -1741,7 +1741,7 @@ struct cmd_context *create_toolcontext(unsigned is_long_lived,
/* Load lvmlocal.conf */
if (*cmd->system_dir && !_load_config_file(cmd, "", 1))
- return_0;
+ goto_out;
if (!_init_tag_configs(cmd))
goto_out;