Instantly exit, when creating the destination fails

This commit is contained in:
Nico Schottelius 2006-10-25 08:10:21 +02:00
parent caa11c5626
commit 952adc32f2
1 changed files with 1 additions and 1 deletions

View File

@ -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!