From 4d4172eecdeb914d5e1a5c9a7f78ac8e0eb004a6 Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 25 May 2016 00:35:34 +0200 Subject: [PATCH] Fixed silent option shouldn't exist in batch mode --- osync-batch.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/osync-batch.sh b/osync-batch.sh index 63f292e..e312a1c 100755 --- a/osync-batch.sh +++ b/osync-batch.sh @@ -3,7 +3,7 @@ SUBPROGRAM=osync PROGRAM="$SUBPROGRAM-batch" # Batch program to run osync / obackup instances sequentially and rerun failed ones AUTHOR="(L) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr - ozy@netpower.fr" -PROGRAM_BUILD=2016031301 +PROGRAM_BUILD=2016052501 ## Runs an osync /obackup instance for every conf file found ## If an instance fails, run it again if time permits @@ -29,10 +29,6 @@ fi function _logger { local value="${1}" # What to log echo -e "$value" >> "$LOG_FILE" - - if [ $_SILENT -eq 0 ]; then - echo -e "$value" - fi } function Logger {