diff --git a/bash/bin/quickdel.sh b/bash/bin/quickdel.sh index 6d41127..09699f9 100755 --- a/bash/bin/quickdel.sh +++ b/bash/bin/quickdel.sh @@ -186,7 +186,7 @@ for pattern in "$@"; do done # If nothing was found -if [[ -z "${paths[*]}" ]]; then +if [[ -z "${files[*]}" ]]; then color_output 'No files found, exiting' 'yellow' exit 1 fi