mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
VERBOSE_MODE in v-run-wp-cli
This commit is contained in:
parent
1567383b49
commit
2fd60fc29d
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue