[Logcheck-devel] Bug#508546: unecessary bashism

Yuri D'Elia wavexx at users.sf.net
Fri Dec 12 10:25:21 UTC 2008


Package: logcheck
Severity: important
Tags: patch

/usr/sbin/logcheck depends on bash to work due to a single bashism
in line 25:

if [ $UID == 0 ]; then

change it to:

if [ `id -u` = 0 ]; then

and substitute the shebang to /bin/sh please.






More information about the Logcheck-devel mailing list