mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
Framework: chained commands need hard exit on error
This commit is contained in:
parent
40448f8b62
commit
74449dba70
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ lint-shell:
|
|||
if [ "$$(head $${FILE} | grep -c '^#!\/bin\/sh$$')" == "0" ]; then \
|
||||
echo "Missing shebang in $${FILE}"; exit 1; \
|
||||
fi; \
|
||||
sh -n $${FILE}; \
|
||||
sh -n $${FILE} || exit 1; \
|
||||
done
|
||||
|
||||
lint-xml:
|
||||
|
|
|
|||
Loading…
Reference in a new issue