summaryrefslogtreecommitdiff
path: root/contrib/ssh-copy-id
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2011-08-12 11:22:47 +1000
committerDamien Miller <djm@mindrot.org>2011-08-12 11:22:47 +1000
commitd1eb1dd5edf4960c1b4cbcda6cfc23462fe4f9fa (patch)
treea3c837e8a2b11ee6f878e4e85dbbadca1c186a8b /contrib/ssh-copy-id
parent2db9977c061ff027bafa488c8e9afad505be773e (diff)
downloadopenssh-git-d1eb1dd5edf4960c1b4cbcda6cfc23462fe4f9fa.tar.gz
- (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 368645cb..eca7cf52 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