summaryrefslogtreecommitdiff
path: root/debian/local
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-09-29 16:11:13 +0200
committerJulien Cristau <jcristau@debian.org>2008-09-29 16:11:13 +0200
commit554fbb20e7792d0207f485af9842f8714abc941c (patch)
treebc69b4999709732a59c7c274daadeb265be55361 /debian/local
parentfc895bca5eb03bd1269b01509af396c6edb74266 (diff)
xvfb-run: append to $ERRORFILE instead of truncating it
Otherwise the error output from Xvfb is deleted when we run 'xauth remove'.
Diffstat (limited to 'debian/local')
-rw-r--r--debian/local/xvfb-run6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/local/xvfb-run b/debian/local/xvfb-run
index 5bbd88613..c85f86af9 100644
--- a/debian/local/xvfb-run
+++ b/debian/local/xvfb-run
@@ -84,7 +84,7 @@ find_free_servernum() {
# Clean up files
clean_up() {
if [ -e "$AUTHFILE" ]; then
- XAUTHORITY=$AUTHFILE xauth remove ":$SERVERNUM" >"$ERRORFILE" 2>&1
+ XAUTHORITY=$AUTHFILE xauth remove ":$SERVERNUM" >>"$ERRORFILE" 2>&1
fi
if [ -n "$XVFB_RUN_TMPDIR" ]; then
if ! rm -r "$XVFB_RUN_TMPDIR"; then
@@ -158,8 +158,8 @@ fi
# Start Xvfb.
MCOOKIE=$(mcookie)
XAUTHORITY=$AUTHFILE xauth add ":$SERVERNUM" "$XAUTHPROTO" "$MCOOKIE" \
- >"$ERRORFILE" 2>&1
-XAUTHORITY=$AUTHFILE Xvfb ":$SERVERNUM" $XVFBARGS $LISTENTCP >"$ERRORFILE" \
+ >>"$ERRORFILE" 2>&1
+XAUTHORITY=$AUTHFILE Xvfb ":$SERVERNUM" $XVFBARGS $LISTENTCP >>"$ERRORFILE" \
2>&1 &
XVFBPID=$!
sleep "$STARTWAIT"