master - toolcontext: Fix lvmlocal.conf load fail path.
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=4ff9abd01f60e3bfe433da5596078a12fb49f9eb Commit: 4ff9abd01f60e3bfe433da5596078a12fb49f9eb Parent: 1e59c0346a3d9f5d125708529bd6d2ff4d0a16d5 Author: Alasdair G Kergon <[email protected]> AuthorDate: Wed Feb 25 16:36:47 2015 +0000 Committer: Alasdair G Kergon <[email protected]> CommitterDate: Wed Feb 25 16:36:47 2015 +0000
toolcontext: Fix lvmlocal.conf load fail path.
--- lib/commands/toolcontext.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/commands/toolcontext.c +1 -1
@@ -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;