Fixed GetDirectoriesSize malfunction with ssh filter

This commit is contained in:
deajan 2013-06-23 23:52:00 +02:00
parent c6c16ca2e8
commit 3835dfc0ec
2 changed files with 4 additions and 2 deletions

View File

@ -391,7 +391,7 @@ function CreateLocalStorageDirectories
function CheckSpaceRequirements function CheckSpaceRequirements
{ {
if [ "$BACKUP_SQL" == "yes" ] if [ "$BACKUP_SQL" != "no" ]
then then
if [ -d $LOCAL_SQL_STORAGE ] if [ -d $LOCAL_SQL_STORAGE ]
then then
@ -417,7 +417,7 @@ function CheckSpaceRequirements
fi fi
fi fi
if [ "$BACKUP_FILES" == "yes" ] if [ "$BACKUP_FILES" != "no" ]
then then
if [ -d $LOCAL_FILE_STORAGE ] if [ -d $LOCAL_FILE_STORAGE ]
then then

View File

@ -34,6 +34,8 @@ case ${SSH_ORIGINAL_COMMAND%% *} in
Go ;; Go ;;
"mysql") "mysql")
Go ;; Go ;;
"echo")
Go ;;
"find") "find")
Go ;; Go ;;
"du") "du")