From 294b7ca3a89f272433d08410ce18430f6fa33767 Mon Sep 17 00:00:00 2001 From: strasharo Date: Tue, 24 May 2016 14:30:21 +0300 Subject: [PATCH] check for exported debug variable instead of relying on a hardcoded one --- fluxion | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fluxion b/fluxion index 4f7a374..dd068a4 100755 --- a/fluxion +++ b/fluxion @@ -2,7 +2,9 @@ ########## DEBUG Mode ########## ## ## - FLUX_DEBUG=0 +if [ -z "$FLUX_DEBUG" ]; then FLUX_DEBUG=0 +else FLUX_DEBUG=1 +fi ## ## ################################