diff --git a/SC2045.md b/SC2045.md index aafb233..c184c9f 100644 --- a/SC2045.md +++ b/SC2045.md @@ -14,7 +14,7 @@ done ```sh for f in *.wav do - [[ -e "$f" ]] || break # handle the case of no *.wav files + [[ "$f" == '*.wav' && -e "$f" ]] || break # handle the case of no *.wav files echo "$f" done ```