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:
authorInsanemal <insanemal@gmail.com>2021-04-08 14:11:23 +1000
committerGitHub <noreply@github.com>2021-04-08 14:11:23 +1000
commit303dbd567ac2dd7507cbec2e9b5e39775fc04f2e (patch)
treea44a9f391c185c393a0e4f9ff3e4a5519ce81a74 /archinstall/lib/installer.py
parente103f2bc02aa090141d844894e36af6ec2a9a77b (diff)
parenteb5795b7db1d9583fa6a62a780b17f3fc0d9260a (diff)
Merge pull request #1 from archlinux/master
Sync to master
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 8673bbee..1d277bc6 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -147,7 +147,7 @@ class Installer():
self.log(f"Updating {self.mountpoint}/etc/fstab", level=LOG_LEVELS.Info)
fstab = sys_command(f'/usr/bin/genfstab {flags} {self.mountpoint}').trace_log
- with open(f"{self.mountpoint}/etc/fstab", 'ab') as fstab_fh:
+ with open(f"{self.mountpoint}/etc/fstab", 'ab',newline='\n') as fstab_fh:
fstab_fh.write(fstab)
if not os.path.isfile(f'{self.mountpoint}/etc/fstab'):