Skip to content

Instantly share code, notes, and snippets.

@AndyNovo
Created November 30, 2016 16:01
Show Gist options
  • Save AndyNovo/c7431e7f41902a0d9a4ef302eba9a568 to your computer and use it in GitHub Desktop.
Save AndyNovo/c7431e7f41902a0d9a4ef302eba9a568 to your computer and use it in GitHub Desktop.
#!/bin/bash
n_errs=`flawfinder -DQ $1 | wc -l`
if [ "$n_errs" = "0" ]; then
echo "No prob bob"
else
echo "Houston we have a problem"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment