It would be nice if startx returned non-zero when something blew up (and xinit returned non-zero but it was lost with wait); patch attached.
Created attachment 1674 [details] save xinit's errorlevel
xinit-1.0.3-alt3
tnx