mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Also report set -u used in remove, making some remove crash ...
This commit is contained in:
parent
6ce44da797
commit
0b1aa10e44
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue