From bcb3a8a8514ede408cac702a83a800027ca4f060 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 8 Jan 2023 23:50:20 +0200 Subject: [PATCH] Pass the exitcode --- slpkg/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()