From 097ed623cb1bd76722b31bf39bdb538499216abd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 19 Jan 2015 14:01:14 -0400 Subject: [PATCH] squash build warning --- mispipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mispipe.c b/mispipe.c index d183d04..c524531 100644 --- a/mispipe.c +++ b/mispipe.c @@ -114,7 +114,7 @@ static void subprocess2(const char* cmd) { if (close(filedes[1])) error_with_errno("Failed (in child) closing filedes[1]"); /* Do the second command, and throw away the exit status. */ - system(cmd); + if (system(cmd)) {} /* Close the standard input. */ if (close(0)) error_with_errno("Failed (in child) closing standard output " -- 2.11.4.GIT