From 0c74fed1f14d7b18f8dc070fec359e30341625a9 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Fri, 19 Dec 2014 13:27:07 +0100 Subject: [PATCH] remove/reserve unused ssh_opts parameter --- gsc-post-receive | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gsc-post-receive b/gsc-post-receive index ff07fde..be377a2 100755 --- a/gsc-post-receive +++ b/gsc-post-receive @@ -28,11 +28,12 @@ poke_host() { -o IdentityFile="$TEMPDIR/poke-key" \ -o StrictHostKeyChecking=yes \ -o UserKnownHostsFile=$TEMPDIR/ssh_known_hosts \ - $2 $1 &2 + $1 &2 echo >&2 "*** Done poking $1." } -while read target ssh_opts; do - poke_host $target $ssh_opts +while read target remainder; do + # reserve the use of $remainder for now + poke_host $target done < $TEMPDIR/pokehosts -- 2.39.2