All of lore.kernel.org
 help / color / mirror / Atom feed
* master - commands: fix missing skip condition in coverity fixes
@ 2017-03-10 17:50 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2017-03-10 17:50 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=43388f12208be07191b80a5ed328a87790ecd64a
Commit:        43388f12208be07191b80a5ed328a87790ecd64a
Parent:        a9341b18ef6cb20245a74fc97aa28dd7283804f3
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Fri Mar 10 11:49:24 2017 -0600
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Fri Mar 10 11:50:00 2017 -0600

commands: fix missing skip condition in coverity fixes

Fix for commit 5e6ea4b7
---
 tools/command.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tools/command.c b/tools/command.c
index aacc647..9594284 100644
--- a/tools/command.c
+++ b/tools/command.c
@@ -1506,7 +1506,8 @@ int define_commands(char *run_name)
 			continue;
 		}
 
-		log_error("Parsing command defs: can't process input line %s", line_orig);
+		if (!skip)
+			log_error("Parsing command defs: can't process input line %s", line_orig);
 	}
 
 	for (i = 0; i < COMMAND_COUNT; i++) {



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-10 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-10 17:50 master - commands: fix missing skip condition in coverity fixes David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.