summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index 97ffaf3..b4181be 100644
--- a/functions
+++ b/functions
@@ -1,6 +1,6 @@
#!/bin/bash
-msg () { [ "${QUIET}" = "n" ] && echo $@; }
+msg () { (( QUIET )) || echo $@; }
err () { echo "ERROR: $@" >&2; }
die () { echo "FATAL: $@" >&2; cleanup; exit 1; }