summaryrefslogtreecommitdiffstats
path: root/tests/smtp_ingress-clean.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/smtp_ingress-clean.sh')
-rw-r--r--tests/smtp_ingress-clean.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/smtp_ingress-clean.sh b/tests/smtp_ingress-clean.sh
index f224ae6..898f4df 100644
--- a/tests/smtp_ingress-clean.sh
+++ b/tests/smtp_ingress-clean.sh
@@ -24,7 +24,10 @@
# After test, cleanup with
# $ sh dmz-clean.sh
-if [ $1 == "debug" ]; then set -x #echo on
+if [ $# -eq 1 ]; then
+ if [ $1 == "debug" ]; then
+ set -x #echo on
+ fi
fi
source /opt/copper/admin-openrc.sh