updated check_shell_syntax.sh

pull/2/head
Hari Sekhon 8 years ago
parent 28e6e6e5e6
commit ba3e66c0e4

@ -16,7 +16,7 @@
# This really only checks basic syntax, if you're made command errors this won't catch it
if [ -z "$(find -L "${1:-.}" -type f -iname '*.sh')" ]; then
return &>/dev/null
return 0 &>/dev/null || :
exit 0
fi

Loading…
Cancel
Save