zio-backup: handle no specified paths
parent
e651421929
commit
3a953b30c7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue