mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-28 19:58:18 +01:00
Pass the exitcode
This commit is contained in:
parent
947eb37c76
commit
bcb3a8a851
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class Downloader:
|
||||||
if not p1.is_alive():
|
if not p1.is_alive():
|
||||||
if p1.exitcode != 0:
|
if p1.exitcode != 0:
|
||||||
done = f' {self.bred} Failed{self.endc}'
|
done = f' {self.bred} Failed{self.endc}'
|
||||||
self.stderr = 8
|
self.stderr = p1.exitcode
|
||||||
print(f'{self.endc}{done}', end='')
|
print(f'{self.endc}{done}', end='')
|
||||||
p2.terminate()
|
p2.terminate()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue