mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-28 14:35:54 +00:00
Update core.func
This commit is contained in:
@@ -91,12 +91,9 @@ default_vars() {
|
|||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Sets default verbose mode for script and os execution.
|
# Sets default verbose mode for script and os execution.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
if [ -v VERBOSE ]; then
|
echo "DEBUG: VERBOSE: '$VERBOSE'"
|
||||||
echo "DEBUG: VERBOSE was already defined as '$VERBOSE'"
|
|
||||||
else
|
|
||||||
echo "DEBUG: VERBOSE was not defined, applying default"
|
|
||||||
fi
|
|
||||||
VERBOSE="${1:-no}"
|
VERBOSE="${1:-no}"
|
||||||
|
echo "DEBUG: VERBOSE: '$VERBOSE'"
|
||||||
|
|
||||||
set_std_mode() {
|
set_std_mode() {
|
||||||
if [ "$VERBOSE" = "yes" ]; then
|
if [ "$VERBOSE" = "yes" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user