From 5e7c31b637fc7ed82e4f4c81ccd8ca4fe852972f Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Thu, 27 May 2021 15:19:33 +0000 Subject: [PATCH] Log nick and ssh connection in chroot-prompt --- scripts/chroot-prompt.sh | 1 + 1 file changed, 1 insertion(+) 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" "$@"