Update the script to work in strict mode

This commit is contained in:
Ohad Livne 2026-04-07 20:42:20 +03:00
parent 505e36e868
commit a878cf7683
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -5,7 +5,7 @@ IFS=$'\n\t'
export BORG_REPO="/media/backup/" export BORG_REPO="/media/backup/"
if [ "$1" = "service" ]; then if [ "${1:-}" = "service" ]; then
extra_args=() extra_args=()
else else
extra_args=(--progress) extra_args=(--progress)