From 075c67371767246a2277b019ef3ebd8b8d1ce3ef Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 16 Aug 2016 22:53:22 +0200 Subject: [PATCH] Cannot use function before declaration --- dev/ofunctions.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index f811183..64e180e 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -20,8 +20,7 @@ _DRYRUN=0 _SILENT=0 _LOGGER_PREFIX="date" _LOGGER_STDERR=0 - -if [ $(isNumeric "$KEEP_LOGGING") -ne 1 ]; then +if [ "$KEEP_LOGGING" == "" ]; then KEEP_LOGGING=1801 fi