Update the script to work in strict mode
This commit is contained in:
parent
505e36e868
commit
a878cf7683
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ IFS=$'\n\t'
|
|||
|
||||
export BORG_REPO="/media/backup/"
|
||||
|
||||
if [ "$1" = "service" ]; then
|
||||
if [ "${1:-}" = "service" ]; then
|
||||
extra_args=()
|
||||
else
|
||||
extra_args=(--progress)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue