Jérémy Lal:
> 2016-03-20 15:58 GMT+01:00 Ximin Luo :
>> I couldn't figure out why it is run twice [*], but if you just change "rm
>> -r" to "rm -rf" it will no longer fail. I don't see any problem with that.
>
> I suggest instead to keep a "cleaned" global variable to track if the
> cleanup functi
2016-03-20 15:58 GMT+01:00 Ximin Luo :
> Jérémy Lal:
> >> Hello Ximin,
> >>
> >> i tried your patch, and now when interrupting using ctrl-c
> >> xvfb-run -a myapp
> >> i get (i added the "cleaning" message):
> >>
> >> ^Ccleaning /tmp/xvfb-run.UlOS0T
> >> cleaning /tmp/xvfb-run.UlOS0T
> >> rm: cann
Jérémy Lal:
>> Hello Ximin,
>>
>> i tried your patch, and now when interrupting using ctrl-c
>> xvfb-run -a myapp
>> i get (i added the "cleaning" message):
>>
>> ^Ccleaning /tmp/xvfb-run.UlOS0T
>> cleaning /tmp/xvfb-run.UlOS0T
>> rm: cannot remove '/tmp/xvfb-run.UlOS0T': No such file or directory
Hello Ximin,
i tried your patch, and now when interrupting using ctrl-c
xvfb-run -a myapp
i get (i added the "cleaning" message):
^Ccleaning /tmp/xvfb-run.UlOS0T
cleaning /tmp/xvfb-run.UlOS0T
rm: cannot remove '/tmp/xvfb-run.UlOS0T': No such file or directory
xvfb-run: error: problem while cleani
On Fri, Mar 18, 2016 at 16:02:16 +0100, Jérémy Lal wrote:
> Hello Ximin,
>
You didn't send this mail to Ximin...
Cheers,
Julien
For your convenience, full patch is attached.
--
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git
--- /usr/bin/xvfb-run 2015-03-04 17:16:14.751938799 +0100
+++ /usr/bin/xvfb-run 2015-03-04 17:05:43.967955334 +0100
@@ -140,7 +140,7 @@
fi
# tidy up after ourselves
-trap clean_
Package: xvfb
Version: 2:1.16.4-1
Severity: normal
Hi,
In xvfb-run(1), please clean up the Xvfb server on exits caused by signals too.
Easy way:
cut here
--- /usr/bin/xvfb-run 2015-02-11 01:35:06.0 +0100
+++ /usr/bin/xvfb-run 2015-03-03 01:39:03.839885585 +0100
@@ -140,7 +
7 matches
Mail list logo