diff options
author | Alasdair Kergon <agk@redhat.com> | 2009-09-14 22:47:49 +0000 |
---|---|---|
committer | Alasdair Kergon <agk@redhat.com> | 2009-09-14 22:47:49 +0000 |
commit | 651ff9b32865373f9f6298fbe7b0ea5419da3746 (patch) | |
tree | 898c9215fdb07ca76b616f29cbcd45d3cbd74d21 /tools/dumpconfig.c | |
parent | 905240f91da66571da073df8784f1f42b2888328 (diff) | |
download | lvm2-651ff9b32865373f9f6298fbe7b0ea5419da3746.tar.gz |
Add lots of missing stack debug messages to tools.
Make readonly locking available as locking type 4.
Fix readonly locking to permit writeable global locks (for vgscan). (2.02.49)
Diffstat (limited to 'tools/dumpconfig.c')
-rw-r--r-- | tools/dumpconfig.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/dumpconfig.c b/tools/dumpconfig.c index 8cf1d84bf..c7c58c15e 100644 --- a/tools/dumpconfig.c +++ b/tools/dumpconfig.c @@ -22,8 +22,10 @@ int dumpconfig(struct cmd_context *cmd, int argc, char **argv) if (arg_count(cmd, file_ARG)) file = arg_str_value(cmd, file_ARG, ""); - if (!write_config_file(cmd->cft, file, argc, argv)) + if (!write_config_file(cmd->cft, file, argc, argv)) { + stack; return ECMD_FAILED; + } return ECMD_PROCESSED; } |