From 0b1aa10e448779a2af0aad6eef66854245c312b8 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 14 Mar 2021 18:40:39 +0100 Subject: [PATCH] Also report set -u used in remove, making some remove crash ... --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index c61ae63..b02cefa 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1341,7 +1341,7 @@ class Script(TestSuite): def error_handling(self): if self.name in ["backup", "remove", "_common.sh"]: - present = self.contains("ynh_abort_if_errors") or self.contains("set -eu") + present = self.contains("ynh_abort_if_errors") or self.contains("set -eu") or self.contains("set -u") else: present = self.contains("ynh_abort_if_errors")