1
0
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:
Daniel Martí 2014-08-10 12:28:19 +02:00
parent 2116dee6d2
commit bf227948a9

View File

@ -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