check for exported debug variable instead of relying on a hardcoded one

This commit is contained in:
strasharo 2016-05-24 14:30:21 +03:00
parent bdc4b80b2f
commit 294b7ca3a8
1 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,9 @@
########## DEBUG Mode ##########
## ##
FLUX_DEBUG=0
if [ -z "$FLUX_DEBUG" ]; then FLUX_DEBUG=0
else FLUX_DEBUG=1
fi
## ##
################################