[Piuparts-commits] [piuparts] 01/01: slave_stop: fix bashism

Holger Levsen holger at layer-acht.org
Mon Mar 6 00:53:54 UTC 2017


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

holger pushed a commit to branch develop
in repository piuparts.

commit e4185c5aa8520a5b09f315ea9fb8205974b0600d
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Mar 6 01:53:48 2017 +0100

    slave_stop: fix bashism
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 slave-bin/slave_stop.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slave-bin/slave_stop.in b/slave-bin/slave_stop.in
index 91a6f60..30355e1 100755
--- a/slave-bin/slave_stop.in
+++ b/slave-bin/slave_stop.in
@@ -37,7 +37,7 @@ while pgrep --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piup
 	echo -n "$(date -u +%T) - "
 	pgrep --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piuparts-slave' | xargs -r echo "slaves running: "
 	sleep $(( $i * $i ))
-	let i+=1
+	i=$(( $i + 1 ))
 done
 echo -n "$(date -u +%T) - "
 pgrep --full '/usr/bin/python /srv/piuparts.debian.org/share/piuparts/piuparts-slave' | xargs echo "slaves running: "

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



More information about the Piuparts-commits mailing list