Remove the 0 prefix (which makes the number octal)
This commit is contained in:
parent
46bd63635e
commit
69e0c7fc67
|
@ -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=$?
|
||||
|
|
Loading…
Reference in New Issue