diff --git a/SOURCES/kf2-srv b/SOURCES/kf2-srv index 5844719..cabc017 100644 --- a/SOURCES/kf2-srv +++ b/SOURCES/kf2-srv @@ -1137,6 +1137,7 @@ function admin_curl () # $1: Instance, $2: URL, $*: Request } function password_game () # $1: Password (if empty, use: ''), $*: Instance[s] +{ if echo "$1" | grep -qP '\s'; then echo "Password should not contain spaces" return 1