From 74449dba70cab229eece99a6bd81210d0de3ee82 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 12 Feb 2020 16:19:14 +0100 Subject: [PATCH] Framework: chained commands need hard exit on error --- Mk/plugins.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mk/plugins.mk b/Mk/plugins.mk index a4e41143e..d95dba8ed 100644 --- a/Mk/plugins.mk +++ b/Mk/plugins.mk @@ -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: