https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7594

            Bug ID: 7594
           Summary: daemonize option breaks ps -C
           Product: Spamassassin
           Version: 3.4.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: spamc/spamd
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 5580
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5580&action=edit
Remove changing of $0

Daemonize subroutine adds space behind spamd command path. This causes that
commands like ps -C spamd, pkill spamd cant find the process and fail.
Steps to reproduce:
# spamd -d
$ ps -C spamd

Expected result:
  PID TTY          TIME CMD
<pid> ?        00:00:00 spamd

Actual result:
  PID TTY          TIME CMD

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to