Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix .xerrors.xserver from being empty

Hide stderr
Bug was caused by wrong ordering of copy descriptor http://wiki.bash-hackers.org/scripting/copydescriptor
  • Loading branch information...
commit 1fe9d097ff5d4ef98958613506394752baf3c305 1 parent cffb14c
@kaihendry kaihendry authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  etc/webc/startx.sh
  2. +1 −1  home/webc/.xserverrc
View
2  etc/webc/startx.sh
@@ -1,4 +1,4 @@
#!/bin/sh
# start X, managed by inittab
-exec su webc -c startx 2>&1 >/home/webc/.xerrors
+exec su webc -c startx >/home/webc/.xerrors 2>&1
View
2  home/webc/.xserverrc
@@ -1,3 +1,3 @@
#!/bin/sh
-exec /usr/bin/X -nolisten tcp 2>&1 >/home/webc/.xerrors.xserver
+exec /usr/bin/X -nolisten tcp >/home/webc/.xerrors.xserver 2>&1
Please sign in to comment.
Something went wrong with that request. Please try again.