From 019a03958821242d5081cc4942e76755a42a22e0 Mon Sep 17 00:00:00 2001 From: dpeca Date: Tue, 30 Jul 2019 22:06:47 +0200 Subject: [PATCH] Update main.sh --- func/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/main.sh b/func/main.sh index a9f9e0ec..7483bdb8 100644 --- a/func/main.sh +++ b/func/main.sh @@ -213,7 +213,7 @@ is_object_new() { # Check if object is valid is_object_valid() { if [ $2 = 'USER' ]; then - is_user_format_valid $3 + is_user_format_valid $3 'user' if [ ! -d "$VESTA/data/users/$3" ]; then check_result $E_NOTEXIST "$1 $3 doesn't exist" fi