mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-14 10:54:29 -04:00
Make use of Popen.wait() return value
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user