OSDN Git Service

Don't for when running startx from autostart master
authornatemaia <natemaia10@gmail.com>
Wed, 18 Dec 2019 04:16:07 +0000 (20:16 -0800)
committernatemaia <natemaia10@gmail.com>
Wed, 18 Dec 2019 04:16:07 +0000 (20:16 -0800)
archlabs-installer

index 274c6e7..6d3ca5f 100755 (executable)
@@ -1680,7 +1680,7 @@ xinit_config()
                EOF
                cat > "$MNT/home/$NEWUSER/$LOGINRC" <<- EOF
                # automatically run startx when logging in on tty1
-               [ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && exec startx
+               [ -z "\$DISPLAY" ] && [ \$XDG_VTNR -eq 1 ] && startx
                EOF
        else
                rm -rf "$AUTOLOGIN_SERV"