[Qa-jenkins-scm] [jenkins.debian.net] 01/06: fix logic

Holger Levsen holger at layer-acht.org
Mon Dec 19 11:23:35 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 74d8c4d35b301367fb2bbc3565e51d4b4326a7a9
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Dec 19 12:03:51 2016 +0100

    fix logic
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 deploy_everywhere | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deploy_everywhere b/deploy_everywhere
index 855eed0..a3dd4d0 100755
--- a/deploy_everywhere
+++ b/deploy_everywhere
@@ -91,7 +91,7 @@ if [ "$1" = "all" ] ; then
 	# reset_clock can be false as update_jdn.sh sets the time
 	reset_clock=false
 	shift
-	if [ -z "$1" ] ; then
+	if [ ! -z "$1" ] ; then
 		real_command="$@"
 		echo -n "Running '$real_command' on $HOSTS now."
 		real_command="$@ && echo '__reallyreally=ok__'"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list