]> sourceware.org Git - lvm2.git/commitdiff
logging: Write Completed message before resetting.
authorAlasdair G Kergon <agk@redhat.com>
Fri, 6 Sep 2013 00:47:41 +0000 (01:47 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 6 Sep 2013 00:47:41 +0000 (01:47 +0100)
WHATS_NEW
tools/lvmcmdline.c

index abfe0e1e71289f2b3af5c46e4e23c538c6fb6c5d..212f4bbdccc5b0fdb733089d2ef275c1401c9ee9 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.101 - 
 ===================================
+  Write Completed debug message before reinstating log defaults after command.
   Skip pvmove of RAID, thin, snapshot, origin, or mirror LVs in a cluster.
   Refresh existing VG before autoactivation (event retrigger/device reappeared).
   Use pvscan -b in udev rules to avoid a deadlock on udev process count limit.
index c7917ea13c2c22b733fb59c9e6d66b974f74dc1d..116e963f7322f94cc5a017bd213f234d2b363873 100644 (file)
@@ -1190,15 +1190,14 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv)
                        stack;
        }
 
-       /* FIXME Move this? */
-       cmd->current_settings = cmd->default_settings;
-       _apply_settings(cmd);
-
        if (ret == EINVALID_CMD_LINE && !_cmdline.interactive)
                _short_usage(cmd->command->name);
 
        log_debug("Completed: %s", cmd->cmd_line);
 
+       cmd->current_settings = cmd->default_settings;
+       _apply_settings(cmd);
+
        /*
         * free off any memory the command used.
         */
This page took 0.052832 seconds and 5 git commands to generate.