diff options
author | June McEnroe <june@causal.agency> | 2021-05-27 15:19:33 +0000 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-05-27 15:19:33 +0000 |
commit | 5e7c31b637fc7ed82e4f4c81ccd8ca4fe852972f (patch) | |
tree | 1ce0285dd25a37d8c7ee411cc6b01a4d35bffe60 | |
parent | Clarify -H hash option (diff) | |
download | catgirl-5e7c31b637fc7ed82e4f4c81ccd8ca4fe852972f.tar.gz catgirl-5e7c31b637fc7ed82e4f4c81ccd8ca4fe852972f.zip |
Log nick and ssh connection in chroot-prompt
Diffstat (limited to '')
-rw-r--r-- | scripts/chroot-prompt.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/chroot-prompt.sh b/scripts/chroot-prompt.sh index 3b43841..9adff95 100644 --- a/scripts/chroot-prompt.sh +++ b/scripts/chroot-prompt.sh @@ -3,4 +3,5 @@ set -eu printf 'Name: ' read -r nick rest +printf '%s %s\n' "$nick" "${SSH_CLIENT:-}" >>nicks.log exec catgirl -n "$nick" -s "$nick" "$@" |