From c68e326a452f2f05e055fdba151ea6259260294b Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 25 May 2016 00:36:36 +0200 Subject: [PATCH] Fixed silent option shouldn't exist in batch mode --- obackup-batch.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/obackup-batch.sh b/obackup-batch.sh index 8a40225..40f4ae4 100755 --- a/obackup-batch.sh +++ b/obackup-batch.sh @@ -3,7 +3,7 @@ SUBPROGRAM=obackup 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 {