[devtools] protect xvfb-run.sh against clean_up being called twice stable
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 10 Apr 2013 15:34:18 +0200
branchstable
changeset 8884 e750e5abd1c7
parent 8883 d531e80479a7
child 8886 bff36e86f74a
[devtools] protect xvfb-run.sh against clean_up being called twice
devtools/data/xvfb-run.sh
--- a/devtools/data/xvfb-run.sh	Wed Apr 10 10:44:55 2013 +0200
+++ b/devtools/data/xvfb-run.sh	Wed Apr 10 15:34:18 2013 +0200
@@ -86,6 +86,7 @@
             error "problem while cleaning up temporary directory"
             exit 5
         fi
+        XVFB_RUN_TMPDIR=
     fi
     if [ -n "$XVFBPID" ]; then
         kill "$XVFBPID"