fix scan_printf script error code handling
parent
2efd48dee2
commit
dcb89cf107
|
@ -6,8 +6,7 @@ grep \
|
||||||
-rnw include code \
|
-rnw include code \
|
||||||
-e '^\s*printf'
|
-e '^\s*printf'
|
||||||
|
|
||||||
if [ $? ]
|
if [ $? -eq 0 ]; then
|
||||||
then
|
|
||||||
echo "Debug statement(s) detected. Please uncomment (using single-line comment), remove, or manually add to exclude filter, if appropriate"
|
echo "Debug statement(s) detected. Please uncomment (using single-line comment), remove, or manually add to exclude filter, if appropriate"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue