Control: retitle -1 Don't use 's' suffix for integer sleep in 
spamass-milter.init
Control: severity -1 minor

On Sat, 06 Dec 2014, Raphael Geissert wrote:
> I've ran checkbashisms (from the 'devscripts' package) over the whole
> archive and I found that your package has a /bin/sh script that uses a
> "bashism".
> 
> checkbashisms' output:
> > possible bashism in ./etc/init.d/spamass-milter line 123 (sleep only takes
> > one integer):
> >     sleep 1s

For dash, this isn't an issue, because dash does not have a sleep
built-in, and instead uses /bin/sleep which handles non-integer seconds
correctly.

It's not really a bashism, either; it's just a reliance on the sleep in
coreutils... but it should still be fixed.

-- 
Don Armstrong                      http://www.donarmstrong.com

"People selling drug paraphernalia ... are as much a part of drug
trafficking as silencers are a part of criminal homicide."
 -- John Brown, DEA Chief


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to