]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Fixing scripts/exec-puppet-agent
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 7 Dec 2022 17:42:23 +0000 (18:42 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 7 Dec 2022 17:42:23 +0000 (18:42 +0100)
scripts/exec-puppet-agent

index d03d8d603826de20f9461a8f686a7f963a8827a1..51c0bfec2eb1bbdf929e6f5dafddf92fc31ef10d 100755 (executable)
@@ -131,7 +131,7 @@ exec_puppet_agent() {
             info "Waiting ..."
         fi
         sleep 1
-        i=$(( $1 + 1 ))
+        i=$(( $i + 1 ))
     done
 
     local cmd=""