From: Philip Hands Date: Wed, 31 Jul 2024 21:19:51 +0000 (+0200) Subject: add $HOME to ERROR if one cannot write to ~/.ssh X-Git-Tag: V_9_9_P1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb94fd2339848e40cad6c9bb42b822244cc1a7bc;p=thirdparty%2Fopenssh-portable.git add $HOME to ERROR if one cannot write to ~/.ssh SSH-Copy-ID-Upstream: ebef3e9c06e0447bff06e9d84b33023cf592e0ba --- diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id index dfecc744d..59317243e 100644 --- a/contrib/ssh-copy-id +++ b/contrib/ssh-copy-id @@ -332,7 +332,7 @@ then #shellcheck disable=SC2064 trap "$SCRATCH_CLEANUP" EXIT TERM INT QUIT else - printf '%s: ERROR: failed to create required temporary directory under ~/.ssh\n' "$0" >&2 + printf '%s: ERROR: failed to create required temporary directory under ~/.ssh (HOME="%s")\n' "$0" "$HOME" >&2 exit 1 fi