Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/installer.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib/installer.py')
-rw-r--r--archinstall/lib/installer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py
index 889f72d9..5827078c 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -121,7 +121,7 @@ class Installer():
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_fh.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}')