From b0bbbbef9ab22afcc7b04c3dcfc64040ea95a2b3 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Fri, 13 Sep 2013 13:36:08 +0200 Subject: [PATCH] Update obackup.sh --- obackup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/obackup.sh b/obackup.sh index 190fa55..bf133e4 100755 --- a/obackup.sh +++ b/obackup.sh @@ -414,6 +414,8 @@ function CheckSpaceRequirements LOCAL_SQL_SPACE=0 LogError "SQL storage path [$LOCAL_SQL_STORAGE] doesn't exist." fi + else + LOCAL_SQL_SPACE=0 fi if [ "$BACKUP_FILES" != "no" ] @@ -440,6 +442,8 @@ function CheckSpaceRequirements LOCAL_FILE_SPACE=0 LogError "File storage path [$LOCAL_FILE_STORAGE] doesn't exist." fi + else + LOCAL_FILE_SPACE=0 fi if [ "$LOCAL_SQL_DRIVE" == "$LOCAL_FILE_DRIVE" ]