From 5302c8c5f0ee4a12676abef1494728c84850a0c2 Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 30 Mar 2017 22:19:41 +0200 Subject: [PATCH] Updated common_batch from osync project --- dev/common_batch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev/common_batch.sh b/dev/common_batch.sh index bf5e97e..d01d6e7 100755 --- a/dev/common_batch.sh +++ b/dev/common_batch.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash 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" +AUTHOR="(L) 2013-2017 by Orsiris de Jong" CONTACT="http://www.netpower.fr - ozy@netpower.fr" PROGRAM_BUILD=2016120401 @@ -119,15 +119,15 @@ function Batch { fi done runList=("${runAgainList[@]}") - runs=$(($runs + 1)) + runs=$((runs + 1)) done fi } function Usage { echo "$PROGRAM $PROGRAM_BUILD" - echo $AUTHOR - echo $CONTACT + echo "$AUTHOR" + echo "$CONTACT" echo "" echo "Batch script to sequentially run osync or obackup instances and rerun failed ones." echo "Usage: $PROGRAM.sh [OPTIONS] [$SUBPROGRAM OPTIONS]"