Skip to content

Commit 738c7d3

Browse files
committed
fix thinko, elif
1 parent e61e372 commit 738c7d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/functions/general/schedule_deletion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function pre_umount_final_image__schedule_deletion_delete_now() {
2222
set +e # don't bail out, let us bail out ourselves more verbosely
2323
if [[ ! -e "$file" ]]; then
2424
exit_with_error "FILE DELETION FAILED (missing): '${file}'; ${message}"
25-
if rm -- "$file"; then
25+
elif rm -- "$file"; then
2626
display_alert "deleted file '${file}'" "$message" "info"
2727
else
2828
exit_with_error "FILE DELETION FAILED: '${file}'; ${message}"

0 commit comments

Comments
 (0)