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:
parent
c6c16ca2e8
commit
3835dfc0ec
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user