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 b48f739 commit 8c85420Copy full SHA for 8c85420
func/shared.func
@@ -61,7 +61,7 @@ format_validation() {
61
62
# Checking shell
63
check_shell=$(/usr/bin/chsh --list-shells | grep -w "$val" )
64
- if [ -z "$1"] || [ -z "$check_shell" ]; then
+ if [ -z "$1" ] || [ -z "$check_shell" ]; then
65
echo "Error: shell not found"
66
log_event 'debug' "$E_NOTEXIST $V_EVENT"
67
exit $E_NOTEXIST
0 commit comments