diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ssh-copy-id | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index 2346761f7..a1ad34a8d 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id | |||
@@ -29,7 +29,12 @@ if [ -z "`eval $GET_ID`" -a -r "${ID_FILE}" ] ; then | |||
29 | fi | 29 | fi |
30 | 30 | ||
31 | if [ -z "`eval $GET_ID`" ]; then | 31 | if [ -z "`eval $GET_ID`" ]; then |
32 | echo "$0: ERROR: No identities found" | 32 | echo "$0: ERROR: No identities found" >&2 |
33 | exit 1 | ||
34 | fi | ||
35 | |||
36 | if [ "$#" -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "--help" ]; then | ||
37 | echo "Usage: $0 [-i [identity_file]] [user@]machine" >&2 | ||
33 | exit 1 | 38 | exit 1 |
34 | fi | 39 | fi |
35 | 40 | ||