https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212276

            Bug ID: 212276
           Summary: /etc/periodic/daily/440.status-mailq exit code is 1
                    when mail queue is empty
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: chris-freebsd-b...@stankevitz.com

Created attachment 174238
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174238&action=edit
fix check for empty queue string

mailq status returns $1 even when queue is empty.

Attached patch fixes problem on my system, which may be entirely because I use
postfix instead of sendmail.  I'm not sure how postfix interacts with
/usr/bin/mailq if at all.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to