mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 05:40:17 +00:00
Fix type of variable
This commit is contained in:
@@ -41,7 +41,7 @@ chown root:sudo $BACKUPS/$DATE*.tgz
|
|||||||
chmod 640 $BACKUPS/*.tgz
|
chmod 640 $BACKUPS/*.tgz
|
||||||
|
|
||||||
# Remove dumps and the previous backup once there is another.
|
# Remove dumps and the previous backup once there is another.
|
||||||
if [ $TYPE -eq "full" ] && [ -e $LEVEL0 ]
|
if [ $TYPE = full ] && [ -e $LEVEL0 ]
|
||||||
then
|
then
|
||||||
rm $LEVEL0 $BACKUPS/*incremental.tgz
|
rm $LEVEL0 $BACKUPS/*incremental.tgz
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user