From 4d490697c4c143a16c6d68fe1a636eda9b9b5a1b Mon Sep 17 00:00:00 2001 From: deajan Date: Sun, 4 Dec 2016 11:31:02 +0100 Subject: [PATCH] Fixed batch did only pass last argument --- dev/common_batch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/common_batch.sh b/dev/common_batch.sh index c553074..0a8bde0 100755 --- a/dev/common_batch.sh +++ b/dev/common_batch.sh @@ -3,7 +3,7 @@ SUBPROGRAM=[prgname] 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=2016120301 +PROGRAM_BUILD=2016120401 ## Runs an osync /obackup instance for every conf file found ## If an instance fails, run it again if time permits @@ -162,7 +162,7 @@ do Usage ;; *) - opts="$i " + opts="$opts$i " ;; esac done