[Syslog-ng-maintainers] Bug#772382: Re: Bug#772382: syslog-ng-core: bashism in /bin/sh script
Raphael Geissert
atomo64 at gmail.com
Sun Dec 7 11:52:19 GMT 2014
Control: reopen -1
(only doing it once)
On Sunday 07 December 2014 11:54:58 Gergely Nagy wrote:
> Raphael> checkbashisms' output:
> >> possible bashism in ./etc/init.d/syslog-ng line 81 (sleep only
> >> takes one
> >> integer):
> >> sleep 1s
>
> This is not a bashism. It is a GNUism, which happens to work with bash's
> builtin, and with dash too, because it uses /bin/sleep from coreutils,
> which supports this too.
>
> I'm closing this issue, because there's nothing to fix, it's a false
> alarm.
It's a bug, and will make your init script break depending on what /bin/sh
is pointing to. You may getaway with fractions, but in this case most
implementations will just error out and not sleep at all.
https://bugs.debian.org/772336
Cheers,
--
Raphael Geissert
More information about the Syslog-ng-maintainers
mailing list