Fix for calling -w without -a.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
pull/1281/head
Dan Schaper 7 years ago
parent 83b0600863
commit 17b0db6515
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

@ -50,10 +50,10 @@ debugFunc() {
# Pull off the `debug` leaving passed call augmentation flags in $1
shift
if [[ "${1}" == "-a" ]]; then
if [[ "$@" == *"-a"* ]]; then
automated="true"
fi
if [[ "${2}" == "-w" ]]; then
if [[ "$@" == *"-w"* ]]; then
web="true"
fi

Loading…
Cancel
Save