Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall')
-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 2bb0af3d..7c2c976a 100644
--- a/archinstall/lib/installer.py
+++ b/archinstall/lib/installer.py
@@ -223,7 +223,7 @@ class Installer():
o = b''.join(sys_command(f'/usr/bin/arch-chroot {self.mountpoint} gpasswd -a {user} {group}'))
if sudo:
- with open(f'{mountpoint}/etc/sudoers', 'a') as sudoers:
+ with open(f'{self.mountpoint}/etc/sudoers', 'a') as sudoers:
sudoers.write(f'{user}\n')
self.helper_flags['user'] = True