View | Details | Raw Unified | Return to bug 2105 | Differences between
and this patch

Collapse All | Expand All

(-)contrib/ssh-copy-id (-1 / +5 lines)
Lines 196-202 populate_new_ids() { Link Here
196
196
197
  umask 0177
197
  umask 0177
198
  local L_TMP_ID_FILE=$(mktemp ~/.ssh/ssh-copy-id_id.XXXXXXXXXX)
198
  local L_TMP_ID_FILE=$(mktemp ~/.ssh/ssh-copy-id_id.XXXXXXXXXX)
199
  trap "rm -f $L_TMP_ID_FILE*" EXIT TERM INT QUIT
199
  if test $? -ne 0 -o "x$L_TMP_ID_FILE" = "x" ; then
200
    echo "mktemp failed" 1>&2
201
    exit 1
202
  fi
203
  trap "rm -f $L_TMP_ID_FILE ${L_TMP_ID_FILE}.pub" EXIT TERM INT QUIT
200
  printf '%s: INFO: attempting to log in with the new key(s), to filter out any that are already installed\n' "$0" >&2
204
  printf '%s: INFO: attempting to log in with the new key(s), to filter out any that are already installed\n' "$0" >&2
201
  NEW_IDS=$(
205
  NEW_IDS=$(
202
    eval $GET_ID | {
206
    eval $GET_ID | {

Return to bug 2105