From fdda64aaf727289a129a1a7b4ba49451eb95bcdb Mon Sep 17 00:00:00 2001 From: Moul Date: Thu, 6 Apr 2017 17:19:26 +0200 Subject: [PATCH] [mod] #18, #22: do not return an error value on env var check. --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 8cbb812..f0454b6 100755 --- a/package_linter.py +++ b/package_linter.py @@ -185,7 +185,7 @@ def check_script(path, script_name, script_nbr): if script_nbr < 5: return_code = check_verifications_done_before_modifying_system(script) or return_code return_code = check_set_usage(script_name, script) or return_code - return_code = check_arg_retrieval(script) or return_code + check_arg_retrieval(script) return return_code