Fix type of variable

This commit is contained in:
Naglfar 2021-09-24 20:06:03 +02:00
parent a1728c1886
commit b41070bf7d
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ chown root:sudo $BACKUPS/$DATE*.tgz
chmod 640 $BACKUPS/*.tgz
# Remove dumps and the previous backup once there is another.
if [ $TYPE -eq "full" ] && [ -e $LEVEL0 ]
if [ $TYPE = full ] && [ -e $LEVEL0 ]
then
rm $LEVEL0 $BACKUPS/*incremental.tgz
fi