diff options
author | June McEnroe <june@causal.agency> | 2021-07-20 21:27:24 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-07-20 21:27:24 -0400 |
commit | 78a020df8242ae5e4e2ac210bc8d85dc27b43bb6 (patch) | |
tree | ac567191ca18da1ace5a416d0c502bb64b4a6a4f /scripts | |
parent | FreeBSD: Revert caph_enter(3) call to cap_enter(2) (diff) | |
download | catgirl-78a020df8242ae5e4e2ac210bc8d85dc27b43bb6.tar.gz catgirl-78a020df8242ae5e4e2ac210bc8d85dc27b43bb6.zip |
chroot: Avoid passing paths to -s
Diffstat (limited to '')
-rw-r--r-- | scripts/chroot-prompt.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/chroot-prompt.sh b/scripts/chroot-prompt.sh index 1e626cf..2b34426 100644 --- a/scripts/chroot-prompt.sh +++ b/scripts/chroot-prompt.sh @@ -4,4 +4,4 @@ set -eu printf 'Name: ' read -r nick rest printf '%s %s\n' "$nick" "$SSH_CLIENT" >>nicks.log -exec catgirl -K -n "$nick" -s "$nick" -u "${SSH_CLIENT%% *}" "$@" +exec catgirl -K -n "$nick" -s "${nick##*/}" -u "${SSH_CLIENT%% *}" "$@" |