2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00
Gavin D'souza 2020-03-26 14:18:39 +05:30
parent cd77b42255
commit d5f8ad8e20

View File

@ -20,7 +20,7 @@ def is_sudoers_set():
if return_code_check: if return_code_check:
try: try:
bench_warn = change_uid_msg in get_cmd_output(cmd, _raise=False) bench_warn = change_uid_msg in get_cmd_output(cmd, _raise=False)
except Exception: except subprocess.CalledProcessError:
bench_warn = False bench_warn = False
finally: finally:
return_code_check = return_code_check and bench_warn return_code_check = return_code_check and bench_warn