mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-10 18:06:01 +02:00
update system2 (#7722)
This commit is contained in:
parent
a7a10f4eaa
commit
7f3775a061
1 changed files with 3 additions and 3 deletions
6
build.py
6
build.py
|
@ -33,9 +33,9 @@ def get_arch() -> str:
|
|||
|
||||
|
||||
def system2(cmd):
|
||||
err = os.system(cmd)
|
||||
if err != 0:
|
||||
print(f"Error occurred when executing: {cmd}. Exiting.")
|
||||
exit_code = os.system(cmd)
|
||||
if exit_code != 0:
|
||||
sys.stderr.write(f"Error occurred when executing: `{cmd}`. Exiting.\n")
|
||||
sys.exit(-1)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue