From b91699c0e55cc43581d8f1d84886d296e02611de Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Mon, 31 Aug 2020 21:12:19 +0200 Subject: Forgot self. in Installer --- archinstall/lib/installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') 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 -- cgit v1.2.3-70-g09d2