diff options
author | Alasdair G Kergon <agk@redhat.com> | 2015-02-25 16:36:47 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2015-02-25 16:36:47 +0000 |
commit | 4ff9abd01f60e3bfe433da5596078a12fb49f9eb (patch) | |
tree | d9495c3076649235e52773ec6019206c2abc75ca | |
parent | 1e59c0346a3d9f5d125708529bd6d2ff4d0a16d5 (diff) | |
download | lvm2-4ff9abd01f60e3bfe433da5596078a12fb49f9eb.tar.gz |
toolcontext: Fix lvmlocal.conf load fail path.
-rw-r--r-- | lib/commands/toolcontext.c | 2 |
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; |