mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Make use of Popen.wait() return value
This commit is contained in:
parent
2116dee6d2
commit
bf227948a9
@ -1670,8 +1670,7 @@ def FDroidPopen(commands, cwd=None, shell=False, output=True):
|
||||
|
||||
time.sleep(0.1)
|
||||
|
||||
p.wait()
|
||||
result.returncode = p.returncode
|
||||
result.returncode = p.wait()
|
||||
return result
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user