dracut/adduser.sh: remove double whitespace from sudoers.

This lets the installer remove the anon rule from etc/sudoers.
This commit is contained in:
Juan RP 2016-04-29 09:24:01 +02:00
parent 9d66fae1c0
commit 7e21c2f151
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ chroot ${NEWROOT} sh -c "echo "$USERNAME:voidlinux" | chpasswd -c SHA512"
# Enable sudo permission by default.
if [ -f ${NEWROOT}/etc/sudoers ]; then
echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers
echo "${USERNAME} ALL=(ALL) NOPASSWD: ALL" >> ${NEWROOT}/etc/sudoers
fi
if [ -d ${NEWROOT}/etc/polkit-1 ]; then