]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
add $HOME to ERROR if one cannot write to ~/.ssh
authorPhilip Hands <phil@hands.com>
Wed, 31 Jul 2024 21:19:51 +0000 (23:19 +0200)
committerDarren Tucker <dtucker@dtucker.net>
Sat, 17 Aug 2024 01:19:32 +0000 (11:19 +1000)
SSH-Copy-ID-Upstream: ebef3e9c06e0447bff06e9d84b33023cf592e0ba

contrib/ssh-copy-id

index dfecc744d2ad60c1457cb4ab30fd371d026dd32b..59317243e01aa33f40d3a3633d718a3c93e12ba8 100644 (file)
@@ -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