Instantly exit, when creating the destination fails
This commit is contained in:
parent
caa11c5626
commit
952adc32f2
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ while [ "$i" -lt "$no_sources" ]; do
|
|||
echo "Beginning to backup, this may take some time..."
|
||||
|
||||
echo "Creating $destination_dir ..."
|
||||
mkdir $VVERBOSE "$destination_dir"
|
||||
mkdir $VVERBOSE "$destination_dir" || exit 1
|
||||
|
||||
#
|
||||
# make an absolute path, perhaps $CCOLLECT_CONF is relative!
|
||||
|
|
Loading…
Reference in a new issue