Remove the 0 prefix (which makes the number octal)

This commit is contained in:
Paul van Tilburg 2021-03-06 16:34:40 +01:00
parent 46bd63635e
commit 69e0c7fc67
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ if [ $status -ne 0 ]; then
fi
# Verify the backup every 4 weeks
if [ $(($(date +%W) % 4)) = 0 ]; then
if [ $(($(date +%-W) % 4)) = 0 ]; then
test -z "$RESTIC_QUIET" && echo "I: Check step…"
restic $RESTIC_QUIET check
status=$?