Skip to content

Commit

Permalink
test: fix clean-up error with no files to delete
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed Dec 8, 2024
1 parent 696dd01 commit b057fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cd "$test_dir"

clean_up() {
pkill -P $$ || true
rm "$test_dir"/*
rm -f "$test_dir"/*
rmdir "$test_dir"
}
trap clean_up EXIT
Expand Down

0 comments on commit b057fa2

Please sign in to comment.