]> sourceware.org Git - lvm2.git/commitdiff
Do not log backtrace for correctly processed command
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 13 Jan 2011 15:00:29 +0000 (15:00 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 13 Jan 2011 15:00:29 +0000 (15:00 +0000)
tools/lvmcmdline.c

index 836dbaa5a92ce3db24d50dd86941fe7d034031b0..fe5f08e5aeaea117189fd84663f791ecedd3b85b 100644 (file)
@@ -1095,8 +1095,11 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv)
        if (!_set_udev_checking(cmd))
                goto_out;
 
-       if ((ret = _process_common_commands(cmd)))
-               goto_out;
+       if ((ret = _process_common_commands(cmd))) {
+               if (ret != ECMD_PROCESSED)
+                       stack;
+               goto out;
+       }
 
        if (cmd->metadata_read_only &&
            !(cmd->command->flags & PERMITTED_READ_ONLY)) {
This page took 0.038756 seconds and 5 git commands to generate.