svn commit: r265256 - head/usr.bin/ssh-copy-id

Eitan Adler eadler at FreeBSD.org
Sat May 3 08:52:53 UTC 2014


Author: eadler
Date: Sat May  3 08:52:52 2014
New Revision: 265256
URL: http://svnweb.freebsd.org/changeset/base/265256

Log:
  Fix syntax error with modern shells
  
  Submitted by:	multiple

Modified:
  head/usr.bin/ssh-copy-id/ssh-copy-id.sh

Modified: head/usr.bin/ssh-copy-id/ssh-copy-id.sh
==============================================================================
--- head/usr.bin/ssh-copy-id/ssh-copy-id.sh	Sat May  3 04:44:03 2014	(r265255)
+++ head/usr.bin/ssh-copy-id/ssh-copy-id.sh	Sat May  3 08:52:52 2014	(r265256)
@@ -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


More information about the svn-src-head mailing list