From: Ralph Ronnquist Date: Thu, 10 Dec 2020 01:32:47 +0000 (+1100) Subject: syntax fix again [sigh] X-Git-Url: https://git.rrq.au/?a=commitdiff_plain;h=ee98f24980136e74e7e6a617a9cea67d2e001761;p=rrq%2Fnilfs2sss.git syntax fix again [sigh] --- diff --git a/sss.sh b/sss.sh index 085bffc..cda1b1b 100755 --- a/sss.sh +++ b/sss.sh @@ -47,7 +47,7 @@ function marksnap() { [ "$CNO" = "CNO" ] && continue if [[ "$TS" > "$YEARLY" ]] ; then marksnap YEAR "${DATE:0:4}" $CNO - elif [[ "$TS" > "$MONTHLY" ]] + elif [[ "$TS" > "$MONTHLY" ]] ; then marksnap MONTH "${DATE:5:2}" $CNO elif [[ "$TS" > "$WEEKLY" ]] ; then # For older than most recent week, keep last snapshot each week