diff --git a/slpkg/downloader.py b/slpkg/downloader.py index e8e3c021..49f01161 100644 --- a/slpkg/downloader.py +++ b/slpkg/downloader.py @@ -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()