Fix relative/chroot path
This commit is contained in:
parent
f7980310dc
commit
9b7374f768
@ -20,7 +20,7 @@ else
|
||||
echo -n "~> Do you want to add $name to sudoers? (Y/n) "
|
||||
read answer
|
||||
if [ "$answer" == "y" ] || [ "$answer" == "Y" ]; then
|
||||
usermod -a -G sudo $name
|
||||
arch-chroot /mnt usermod -a -G sudo $name
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user