Skip to content

Commit

Permalink
Return a clear message
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaandotcom committed Feb 26, 2023
1 parent 98850b6 commit c6b3c95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ done

# If found is 1, exit and fail with 1
if [[ $found -eq 1 ]]; then
echo "Found your query terms in files"
echo "Failed because it did find (one of) your query terms in your files"
exit 1
else
echo "Did not find query terms in files"
echo "Success! Did not find query terms in files"
fi

0 comments on commit c6b3c95

Please sign in to comment.