summaryrefslogtreecommitdiffstats
path: root/contrib/ssh-copy-id
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-08-12 03:22:47 +0200
committerDamien Miller <djm@mindrot.org>2011-08-12 03:22:47 +0200
commitd1eb1dd5edf4960c1b4cbcda6cfc23462fe4f9fa (patch)
treea3c837e8a2b11ee6f878e4e85dbbadca1c186a8b /contrib/ssh-copy-id
parent - (djm) [contrib/redhat/openssh.spec contrib/redhat/sshd.init] (diff)
downloadopenssh-d1eb1dd5edf4960c1b4cbcda6cfc23462fe4f9fa.tar.xz
openssh-d1eb1dd5edf4960c1b4cbcda6cfc23462fe4f9fa.zip
- (djm) [contrib/ssh-copy-id] Fix failure for cases where the path to the
identify file contained whitespace. bz#1828 patch from gwenael.lambrouin AT gmail.com; ok dtucker@
Diffstat (limited to 'contrib/ssh-copy-id')
-rw-r--r--contrib/ssh-copy-id2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id
index 368645cb4..eca7cf520 100644
--- a/contrib/ssh-copy-id
+++ b/contrib/ssh-copy-id
@@ -25,7 +25,7 @@ else
fi
if [ -z "`eval $GET_ID`" ] && [ -r "${ID_FILE}" ] ; then
- GET_ID="cat ${ID_FILE}"
+ GET_ID="cat "${ID_FILE}\""
fi
if [ -z "`eval $GET_ID`" ]; then