From 718a64c5af9346995cfb846b1c2ef0dd61b4efc4 Mon Sep 17 00:00:00 2001 From: dpeca Date: Tue, 30 Jul 2019 21:37:56 +0200 Subject: [PATCH] Additional format check --- func/main.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/func/main.sh b/func/main.sh index 3e7b634b..a9f9e0ec 100644 --- a/func/main.sh +++ b/func/main.sh @@ -213,6 +213,7 @@ is_object_new() { # Check if object is valid is_object_valid() { if [ $2 = 'USER' ]; then + is_user_format_valid $3 if [ ! -d "$VESTA/data/users/$3" ]; then check_result $E_NOTEXIST "$1 $3 doesn't exist" fi