Public bug reported:

Reference: https://rt.cpan.org/Public/Bug/Display.html?id=17518

Bug in Syslog.pm version 0.13, fixed in 0.14:


cannot use LOG_EMERG or "emerg" as priority with following error.

syslog: invalid level/facility: emerg at ./syslog.pl line 46

Syslog.pm#syslog (line 632) is
if ($_ eq 'kern' || $num <= 0) {
but I think
if ($_ eq 'kern' || $num < 0) {
is correct.

** Affects: perl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cannot use LOG_EMERG
https://bugs.launchpad.net/bugs/328519
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to