dropbear_lint.sh: Use grep --

This commit is contained in:
Matt Johnston 2022-10-24 11:28:47 +08:00
parent 17e02fe614
commit 64e270b6f2

View File

@ -3,6 +3,6 @@
EXITCODE=0 EXITCODE=0
# #ifdef instead of #if # #ifdef instead of #if
grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1 grep '#ifdef DROPBEAR' -I -- *.c *.h && EXITCODE=1
exit $EXITCODE exit $EXITCODE