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
|
fi
|
||||||
|
|
||||||
# Verify the backup every 4 weeks
|
# 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…"
|
test -z "$RESTIC_QUIET" && echo "I: Check step…"
|
||||||
restic $RESTIC_QUIET check
|
restic $RESTIC_QUIET check
|
||||||
status=$?
|
status=$?
|
||||||
|
|
Loading…
Reference in New Issue