syntax fix again [sigh]
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 10 Dec 2020 01:32:47 +0000 (12:32 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 10 Dec 2020 01:32:47 +0000 (12:32 +1100)
sss.sh

diff --git a/sss.sh b/sss.sh
index 085bffc481e03462e62c91b3e50a71b5d38288c2..cda1b1b1124a67702c5cfa8a4aa730ff13f2f235 100755 (executable)
--- 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