Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-11-18 16:15:41 +0000
committerGitHub <noreply@github.com>2021-11-18 16:15:41 +0000
commit4e3d2cff0cfa640b87d9c674bfc0ec65d8b147cd (patch)
treedb66971a9a87b6454783505e32a3f695a353bf8c /archinstall/lib
parent69810abb16478889118bdba1fed5c572acf33b5a (diff)
parent08468dc1cc84be58c77b20f5dc0f8f48df95789c (diff)
Merged PR #736 - Partially addresses #710
Adding in a hard exception if `--config` can't be loaded when given.
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/systemd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/systemd.py b/archinstall/lib/systemd.py
index 7f732c99..c3beafc0 100644
--- a/archinstall/lib/systemd.py
+++ b/archinstall/lib/systemd.py
@@ -96,7 +96,7 @@ class Boot:
if shutdown.exit_code == 0:
storage['active_boot'] = None
else:
- raise SysCallError(f"Could not shut down temporary boot of {self.instance}", level=logging.ERROR, fg="red")
+ raise SysCallError(f"Could not shut down temporary boot of {self.instance}: {shutdown}", exit_code=shutdown.exit_code)
def __iter__(self):
if self.session: