diff --git a/src/freedombone b/src/freedombone index 7d21d55b..365d8bcd 100755 --- a/src/freedombone +++ b/src/freedombone @@ -9449,7 +9449,7 @@ quit" > $INSTALL_DIR/batch.sql echo 'DAILYFILE=/var/backups/redmatrix_daily.sql' >> /usr/bin/backupdatabases echo 'mysqldump --password="$MYSQL_PASSWORD" redmatrix > $TEMPFILE' >> /usr/bin/backupdatabases echo 'FILESIZE=$(stat -c%s $TEMPFILE)' >> /usr/bin/backupdatabases - echo 'if [ "$FILESIZE" -eq "0" ]; then' >> /usr/bin/backupdatabases + echo 'if [ "$FILESIZE" -lt "1024" ]; then' >> /usr/bin/backupdatabases echo ' if [ -f $DAILYFILE ]; then' >> /usr/bin/backupdatabases echo ' cp $DAILYFILE $TEMPFILE' >> /usr/bin/backupdatabases echo '' >> /usr/bin/backupdatabases