diff --git a/backup.sh b/backup.sh index 6cc2087..c1c5608 100755 --- a/backup.sh +++ b/backup.sh @@ -133,7 +133,7 @@ backup() ($COMPRESS $DST/$BDD/$TABLE.txt && chmod $FILEATTRIBUTES $DST/$BDD/$TABLE.txt.bz2 && chown $USER:$GROUP $DST/$BDD/$TABLE.txt.bz2) & - else if [ $COMPRESS eq 'gzip' ]; then + elif [ $COMPRESS eq 'gzip' ]; then if [ -f "$DST/$BDD/$TABLE.txt.gz" ]; then rm $DST/$BDD/$TABLE.txt.gz