Close #43
Unified · Split
| @@ -856,6 +856,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return · 855 unmodified lines | |||
| 856 | # Remove live user. | 856 | # Remove live user. |
| 857 | echo "Removing $USERNAME live user from targetdir ..." >$LOG | 857 | echo "Removing $USERNAME live user from targetdir ..." >$LOG |
| 858 | chroot $TARGETDIR userdel -r $USERNAME >$LOG 2>&1 | 858 | chroot $TARGETDIR userdel -r $USERNAME >$LOG 2>&1 |
| 859 | sed -i -e "/$USERNAME ALL=.*/d" $TARGETDIR/etc/sudoers | ||
| 859 | DIALOG --title "Check $LOG for details" \ | 860 | DIALOG --title "Check $LOG for details" \ |
| 860 | --infobox "Rebuilding initramfs for target ..." 4 60 | 861 | --infobox "Rebuilding initramfs for target ..." 4 60 |
| 861 | echo "Rebuilding initramfs for target ..." >$LOG | 862 | echo "Rebuilding initramfs for target ..." >$LOG |