Skip to content

Commit

Permalink
Safer use of rm in pure_concolic_execution.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aurelf authored Feb 18, 2024
1 parent 315c0ed commit 06fa553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/pure_concolic_execution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ if [[ -v failed_dir ]]; then
fi

function cleanup() {
rm -rf $work_dir
rm -rf --preserve-root -- $work_dir
}

trap cleanup EXIT
Expand Down

0 comments on commit 06fa553

Please sign in to comment.