1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Do not log backtrace for correctly processed command

This commit is contained in:
Zdenek Kabelac 2011-01-13 15:00:29 +00:00
parent 84b6fab321
commit 8f506ae67b

View 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)) {