From: martin f. krafft Date: Fri, 19 Dec 2014 12:27:07 +0000 (+0100) Subject: remove/reserve unused ssh_opts parameter X-Git-Url: https://git.madduck.net/code/gsc.git/commitdiff_plain/HEAD?ds=inline;hp=13f2a361642e48bebba84a1a4986e9b0d41bdcc6 remove/reserve unused ssh_opts parameter --- 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