From 7f4cfe2c574ed1d22f4910dfdb3a03f7b9a26de0 Mon Sep 17 00:00:00 2001 From: Michael Rodler Date: Thu, 2 Jun 2016 16:30:28 +0200 Subject: [PATCH] fix unbound variable error --- bin/manage-tools | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/manage-tools b/bin/manage-tools index 3543902..e88043a 100755 --- a/bin/manage-tools +++ b/bin/manage-tools @@ -159,7 +159,7 @@ do shift done -[ -z "$ALLOW_SUDO" ] && export ALLOW_SUDO=0 +[[ -z ${ALLOW_SUDO+x} ]] && export ALLOW_SUDO=0 if [[ $# -ge 1 ]]; then ACTION="$1"