index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | codefiles <11915375+codefiles@users.noreply.github.com> | 2024-03-10 10:19:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-10 15:19:22 +0100 |
commit | b87c41e92ff2d54f52c1ae06265949524cb114f5 (patch) | |
tree | 62fc574c10f3c53f69380231d554609116d91df1 /archinstall/lib/general.py | |
parent | 2a33d7cd974b57c0e69b0d4998e9bfe06af86b62 (diff) |
-rw-r--r-- | archinstall/lib/general.py | 6 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 3697cf2d..8dbf23ff 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -440,6 +440,12 @@ class SysCommand: return val.strip() return val + def output(self) -> bytes: + if not self.session: + raise ValueError('No session available') + + return self.session._trace_log.replace(b'\r\n', b'\n') + @property def exit_code(self) -> Optional[int]: if self.session: |