mirror of
https://github.com/deajan/obackup.git
synced 2026-02-05 22:55:14 +01:00
Fixed GetDirectoriesSize malfunction with ssh filter
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -34,6 +34,8 @@ case ${SSH_ORIGINAL_COMMAND%% *} in
|
||||
Go ;;
|
||||
"mysql")
|
||||
Go ;;
|
||||
"echo")
|
||||
Go ;;
|
||||
"find")
|
||||
Go ;;
|
||||
"du")
|
||||
|
||||
Reference in New Issue
Block a user