diff --git a/src/freedombone-backup-local b/src/freedombone-backup-local index 74aeccd9..23b881a1 100755 --- a/src/freedombone-backup-local +++ b/src/freedombone-backup-local @@ -337,7 +337,7 @@ function backup_directories { function remove_backup_directory { if [ $1 ]; then if [[ $1 == "remove" ]]; then - if [ ! -d $USB_MOUNT/backup ]; then + if [ -d $USB_MOUNT/backup ]; then rm -rf $USB_MOUNT/backup echo $'Existing backup directory removed' unmount_drive