fix scan_printf script error code handling

pull/4994/head
Urs Hanselmann 2023-03-04 15:00:43 +01:00
parent 2efd48dee2
commit dcb89cf107
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@ grep \
-rnw include code \
-e '^\s*printf'
if [ $? ]
then
if [ $? -eq 0 ]; then
echo "Debug statement(s) detected. Please uncomment (using single-line comment), remove, or manually add to exclude filter, if appropriate"
exit 1
fi