VERBOSE_MODE in v-run-wp-cli

This commit is contained in:
Peca 2025-06-29 17:16:50 +02:00
parent 1567383b49
commit 2fd60fc29d
2 changed files with 6 additions and 0 deletions

View file

@ -254,6 +254,9 @@ is_object_unsuspended() {
spnd=$(grep "$2='$3'" $USER_DATA/$1.conf |grep "SUSPENDED='yes'")
fi
if [ ! -z "$spnd" ]; then
if [ ! -z "$VERBOSE_MODE" ]; then
echo "Error: $(basename $1) $3 is suspended"
fi
check_result $E_SUSPENDED "$(basename $1) $3 is suspended"
fi
}