2
0
Fork 0

zio-backup: handle no specified paths

main
Ducky 2022-02-23 05:42:18 +00:00
parent e651421929
commit 3a953b30c7
1 changed files with 2 additions and 0 deletions

View File

@ -123,6 +123,8 @@ else
fi fi
fi fi
[[ -z $paths ]] && die "No paths specified. Aborting..."
if [[ ! -z $pre_script ]]; then if [[ ! -z $pre_script ]]; then
say_do "Executing pre-backup script..." say_do "Executing pre-backup script..."
. $pre_script . $pre_script