view dropbear_lint.sh @ 1823:401d7d8c8a79

Remove unused argument of do_cmd() in scp.c (#125)
author Anton Bershanskiy <45960703+bershanskiy@users.noreply.github.com>
date Thu, 19 Aug 2021 18:40:58 +0300
parents 90fffce0ee99
children
line wrap: on
line source

#!/bin/sh

EXITCODE=0

# #ifdef instead of #if
grep '#ifdef DROPBEAR' -I *.c *.h && EXITCODE=1

exit $EXITCODE