Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jarelllama authored Apr 1, 2024
1 parent 4e2b6ab commit c551e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/test_functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ run_script() {
# exit status of 1 or 0.
check_and_exit() {
# Check that all temporary files have been deleted after the run
if ! ls x?? &> /dev/null && ! ls ./*.tmp &> /dev/null; then
if ls x?? &> /dev/null || ls ./*.tmp &> /dev/null; then
printf "\e[1m[warn] Temporary files were not removed:\e[0m\n"
ls x?? ./*.tmp 2> /dev/null
error=true
Expand Down

0 comments on commit c551e1b

Please sign in to comment.