From b7eda3b07159d8c42816d3efe61fd8c2bfd05d35 Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Sun, 18 Mar 2018 11:54:10 +0100 Subject: [PATCH] fix: fix comment formatting --- backup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backup.sh b/backup.sh index 84f49fc..f875837 100755 --- a/backup.sh +++ b/backup.sh @@ -135,10 +135,10 @@ elif [ -n "$TOSSH" ] && [ -n "$FROMSSH" ]; then fi # Get date etc. -WEEKDAY=$($DATE +"%u") # %a = weekday as number -DAY=$($DATE +"%d") # %d = day in month as number -MONTH=$($DATE +%m) # %m = month as number -HOUR=$($DATE +"%H") # %H = hour as number +WEEKDAY=$($DATE +"%u") # %a = weekday as number +DAY=$($DATE +"%d") # %d = day in month as number +MONTH=$($DATE +%m) # %m = month as number +HOUR=$($DATE +"%H") # %H = hour as number WEEK=$($EXPR $($DATE +"%W") % $WEEKS) # %W = week as number, used to save backups for the past $WEEKS weeks # Create a backup every first day in a month