chroot: Avoid passing paths to -s
parent
d9388fa2a8
commit
78a020df82
|
@ -4,4 +4,4 @@ set -eu
|
||||||
printf 'Name: '
|
printf 'Name: '
|
||||||
read -r nick rest
|
read -r nick rest
|
||||||
printf '%s %s\n' "$nick" "$SSH_CLIENT" >>nicks.log
|
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%% *}" "$@"
|
||||||
|
|
Loading…
Reference in New Issue