Skip to content

Commit

Permalink
Run from another script
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanways committed Dec 15, 2023
1 parent 235970f commit 9e9de1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions includes/delete_box.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ delete_box() {
rm $dir/images/"$image".img
}

if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
(delete_box)
fi

0 comments on commit 9e9de1a

Please sign in to comment.