mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 13:54:28 -07:00
Update main.sh
This commit is contained in:
parent
718a64c5af
commit
019a039588
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ is_object_new() {
|
||||||
# Check if object is valid
|
# Check if object is valid
|
||||||
is_object_valid() {
|
is_object_valid() {
|
||||||
if [ $2 = 'USER' ]; then
|
if [ $2 = 'USER' ]; then
|
||||||
is_user_format_valid $3
|
is_user_format_valid $3 'user'
|
||||||
if [ ! -d "$VESTA/data/users/$3" ]; then
|
if [ ! -d "$VESTA/data/users/$3" ]; then
|
||||||
check_result $E_NOTEXIST "$1 $3 doesn't exist"
|
check_result $E_NOTEXIST "$1 $3 doesn't exist"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue