about summary refs log tree commit diff
path: root/scripts/chroot-prompt.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/chroot-prompt.sh')
-rw-r--r--scripts/chroot-prompt.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/chroot-prompt.sh b/scripts/chroot-prompt.sh
index 3b43841..2b34426 100644
--- a/scripts/chroot-prompt.sh
+++ b/scripts/chroot-prompt.sh
@@ -3,4 +3,5 @@ set -eu
 
 printf 'Name: '
 read -r nick rest
-exec catgirl -n "$nick" -s "$nick" "$@"
+printf '%s %s\n' "$nick" "$SSH_CLIENT" >>nicks.log
+exec catgirl -K -n "$nick" -s "${nick##*/}" -u "${SSH_CLIENT%% *}" "$@"