From 8c854201a3610ab4a8859b05e6b8bc875bcfe2d5 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Wed, 18 Jan 2012 14:26:05 +0200 Subject: [PATCH] fixed bug in shell verication --- func/shared.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/shared.func b/func/shared.func index fb97674aa..0d09f401a 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