On 2017-09-17 17:07 -0700, Rian Hunter wrote:

> Package: xvfb
> Version: 2:1.19.3-2
> Severity: normal
>
> xvfb-run uses "#!/bin/sh" as its shebang line. This is wrong because
> it uses bash-specific features like "trap on_cleanup EXIT".

No, this feature is not bash-specific, it is documented in SuSv3[1].

> This is especially broken when "#/bin/sh" links to "dash" (now the
> default shell on debian systems).

That appears to be true, however.  See #390433[2].

Cheers,
       Sven


1. http://pubs.opengroup.org/onlinepubs/009695399/utilities/trap.html
2. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=390433

Reply via email to