diff options
Diffstat (limited to 'home/profiles/base')
-rwxr-xr-x | home/profiles/base/scripts/airport.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/home/profiles/base/scripts/airport.nix b/home/profiles/base/scripts/airport.nix index c46573d..996d896 100755 --- a/home/profiles/base/scripts/airport.nix +++ b/home/profiles/base/scripts/airport.nix @@ -61,8 +61,7 @@ bin_exists "rsync" || die "FATAL: couldn't find rsync" opts=(-au --stats --info=progress2) - [ $SAFEOP ] || opts+=(--delete-after) - + [ $SAFEOP -eq 1 ] && opts+=(--delete-after) case "$1" in send) delay "Airport will run 'rsync -au' to $DIR to SEND" |