From 377d232d9cdc7403740ad6464685d4d4bbcb705f Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 3 May 2014 08:52:52 +0000 Subject: Fix syntax error with modern shells Submitted by: multiple --- usr.bin/ssh-copy-id/ssh-copy-id.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/ssh-copy-id') diff --git a/usr.bin/ssh-copy-id/ssh-copy-id.sh b/usr.bin/ssh-copy-id/ssh-copy-id.sh index e16cfaa8456a..09fb3cca6ed9 100755 --- a/usr.bin/ssh-copy-id/ssh-copy-id.sh +++ b/usr.bin/ssh-copy-id/ssh-copy-id.sh @@ -45,7 +45,7 @@ sendkey() { if ! grep -sqwF "$key" "$keyfile"; then \ printf "$alg $key $comment\n" >> "$keyfile" ; \ fi ; \ - done \ + done ; \ if [ -x /sbin/restorecon ]; then \ /sbin/restorecon -F "$HOME/.ssh/" "$keyfile" >/dev/null 2>&1 || true ; \ fi -- cgit v1.2.3