about summary refs log tree commit diff
path: root/dracut/adduser.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dracut/adduser.sh')
-rw-r--r--dracut/adduser.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut/adduser.sh b/dracut/adduser.sh
index f06a4ea..e59fca1 100644
--- a/dracut/adduser.sh
+++ b/dracut/adduser.sh
@@ -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