fix unbound variable error

This commit is contained in:
Michael Rodler 2016-06-02 16:30:28 +02:00
parent b2288c946d
commit 7f4cfe2c57

View file

@ -159,7 +159,7 @@ do
shift shift
done done
[ -z "$ALLOW_SUDO" ] && export ALLOW_SUDO=0 [[ -z ${ALLOW_SUDO+x} ]] && export ALLOW_SUDO=0
if [[ $# -ge 1 ]]; then if [[ $# -ge 1 ]]; then
ACTION="$1" ACTION="$1"