We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dc9c7c commit 5bfe46bCopy full SHA for 5bfe46b
bin/v-change-user-shell
@@ -32,7 +32,7 @@ is_format_valid 'user' 'shell shell_jail_enabled'
32
is_object_valid 'user' 'USER' "$user"
33
is_object_unsuspended 'user' 'USER' "$user"
34
35
-if [[ "$shell" =~ nologin ]] || [[ "$shell" =~ rssh ]] && [[ "$shell_jail_enabled" =~ yes ]]; then
+if [[ "$shell" =~ nologin ]] || [[ "$shell" =~ rssh ]] && [[ "$shell_jail_enabled" =~ yes ]]; then
36
check_result "$E_INVALID" "nologin and rssh can't be jailed"
37
fi
38
0 commit comments