mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
Framework: chained commands need hard exit on error
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user