summaryrefslogtreecommitdiffstats
path: root/contrib/ssh-copy-id
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2021-03-02 22:34:05 +0100
committerDarren Tucker <dtucker@dtucker.net>2023-05-25 10:24:39 +0200
commitbd382dca316c721aed1e45edcf4c4e0f6374afb0 (patch)
tree8df6f34019f8955f9fc989b3691d235000d941fd /contrib/ssh-copy-id
parentSpecial case OpenWrt instead of Dropbear. (diff)
downloadopenssh-bd382dca316c721aed1e45edcf4c4e0f6374afb0.tar.xz
openssh-bd382dca316c721aed1e45edcf4c4e0f6374afb0.zip
Remove outdated comment
The commit b068122 removed the code dropping the trailing colon, but the comment stayed leaving the code confusing for future readers SSH-Copy-ID-Upstream: 930d39f238117cd53810240ec989d0356aa1c1f6
Diffstat (limited to 'contrib/ssh-copy-id')
-rw-r--r--contrib/ssh-copy-id1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id
index 437a7609f..9c9b0fa5f 100644
--- a/contrib/ssh-copy-id
+++ b/contrib/ssh-copy-id
@@ -155,7 +155,6 @@ if [ $# != 1 ] ; then
usage
fi
-# drop trailing colon
USER_HOST="$*"
# tack the hostname onto SSH_OPTS
SSH_OPTS="${SSH_OPTS:+$SSH_OPTS }'$(quote "$USER_HOST")'"