Pass the exitcode

This commit is contained in:
Dimitris Zlatanidis 2023-01-08 23:50:20 +02:00
parent 947eb37c76
commit bcb3a8a851

View file

@ -70,7 +70,7 @@ class Downloader:
if not p1.is_alive():
if p1.exitcode != 0:
done = f' {self.bred} Failed{self.endc}'
self.stderr = 8
self.stderr = p1.exitcode
print(f'{self.endc}{done}', end='')
p2.terminate()