diff options
author | Julien Cristau <jcristau@debian.org> | 2008-09-29 16:11:13 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-09-29 16:11:13 +0200 |
commit | 554fbb20e7792d0207f485af9842f8714abc941c (patch) | |
tree | bc69b4999709732a59c7c274daadeb265be55361 /debian/local | |
parent | fc895bca5eb03bd1269b01509af396c6edb74266 (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-run | 6 |
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" |