zio-backup: handle no specified paths
This commit is contained in:
parent
e651421929
commit
3a953b30c7
1 changed files with 2 additions and 0 deletions
|
@ -123,6 +123,8 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
[[ -z $paths ]] && die "No paths specified. Aborting..."
|
||||
|
||||
if [[ ! -z $pre_script ]]; then
|
||||
say_do "Executing pre-backup script..."
|
||||
. $pre_script
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue