[master] 02f1654 No need for curly braces

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Jun 17 14:34:45 CEST 2015


commit 02f1654dab6300faca5972c39dc0532f752bd1bb
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Jun 17 14:32:44 2015 +0200

    No need for curly braces

diff --git a/bin/varnishtest/vtc.c b/bin/varnishtest/vtc.c
index 3af21e6..f44d220 100644
--- a/bin/varnishtest/vtc.c
+++ b/bin/varnishtest/vtc.c
@@ -437,10 +437,9 @@ cmd_shell(CMD_ARGS)
 	vtc_dump(vl, 4, "shell", av[1], -1);
 	r = system(av[1]);
 	s = WEXITSTATUS(r);
-	if (s != 0) {
+	if (s != 0)
 		vtc_log(vl, 0, "CMD '%s' failed with status %d",
 		    av[1], s);
-	}
 }
 
 /**********************************************************************



More information about the varnish-commit mailing list