From 5c8d24a329bd49bb3f8c9d6adf421211aed9893c Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 7 Dec 2020 20:33:09 +0100 Subject: Minor tweaks --- archinstall/lib/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 20d849d1..889f72d9 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -118,10 +118,10 @@ class Installer(): def genfstab(self, flags='-pU'): self.log(f"Updating {self.mountpoint}/etc/fstab", level=LOG_LEVELS.Info) - fstab = sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}').trace_log: + fstab = sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}').trace_log print(fstab) with open(f"{self.mountpoint}/etc/fstab", 'ab') as fstab_fh: - fstab.write(fstab) + fstab.write(fstab) if not os.path.isfile(f'{self.mountpoint}/etc/fstab'): raise RequirementError(f'Could not generate fstab, strapping in packages most likely failed (disk out of space?)\n{o}') -- cgit v1.2.3-70-g09d2