[openssh-commits] [openssh] 08/13: add $HOME to ERROR if one cannot write to ~/.ssh

git+noreply at mindrot.org git+noreply at mindrot.org
Sat Aug 17 11:22:26 AEST 2024


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit fb94fd2339848e40cad6c9bb42b822244cc1a7bc
Author: Philip Hands <phil at hands.com>
AuthorDate: Wed Jul 31 23:19:51 2024 +0200

    add $HOME to ERROR if one cannot write to ~/.ssh
    
    SSH-Copy-ID-Upstream: ebef3e9c06e0447bff06e9d84b33023cf592e0ba
---
 contrib/ssh-copy-id | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/ssh-copy-id b/contrib/ssh-copy-id
index dfecc744..59317243 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
 

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list