diff --git a/func/shared.func b/func/shared.func index fb97674a..0d09f401 100644 --- a/func/shared.func +++ b/func/shared.func @@ -61,7 +61,7 @@ format_validation() { # Checking shell check_shell=$(/usr/bin/chsh --list-shells | grep -w "$val" ) - if [ -z "$1"] || [ -z "$check_shell" ]; then + if [ -z "$1" ] || [ -z "$check_shell" ]; then echo "Error: shell not found" log_event 'debug' "$E_NOTEXIST $V_EVENT" exit $E_NOTEXIST