Merge pull request #26 from YunoHost/env_var_check_return_value

[mod] #18, #22: do not return an error value on env var check.
This commit is contained in:
M5oul 2017-04-11 10:14:20 +02:00 committed by GitHub
commit 0fdc5c5208

View file

@ -185,7 +185,7 @@ def check_script(path, script_name, script_nbr):
if script_nbr < 5: if script_nbr < 5:
return_code = check_verifications_done_before_modifying_system(script) or return_code 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_set_usage(script_name, script) or return_code
return_code = check_arg_retrieval(script) or return_code check_arg_retrieval(script)
return return_code return return_code