1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-12 19:03:42 +01:00

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
{
if [ "$BACKUP_SQL" == "yes" ]
if [ "$BACKUP_SQL" != "no" ]
then
if [ -d $LOCAL_SQL_STORAGE ]
then
@ -417,7 +417,7 @@ function CheckSpaceRequirements
fi
fi
if [ "$BACKUP_FILES" == "yes" ]
if [ "$BACKUP_FILES" != "no" ]
then
if [ -d $LOCAL_FILE_STORAGE ]
then

View File

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