From a345d50923174c51f347a93f0febc7d2f6253c35 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 12 Feb 2022 15:04:26 +0100 Subject: [PATCH] Added debug information --- archinstall/lib/general.py | 1 + 1 file changed, 1 insertion(+) diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 0aff5828..2c2fb530 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -530,6 +530,7 @@ def reboot(): def pid_exists(pid: int) -> bool: + print(f'Checking if pid {pid} exists.') try: return any(subprocess.check_output(['/usr/bin/ps', '--no-headers', '-o', 'pid', '-p', str(pid)]).strip()) except subprocess.CalledProcessError: