[Bug 216910] [patch] contrib/dma different behavior if called as "mailq" or "/usr/bin/mailq"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 8 12:00:36 UTC 2017


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

            Bug ID: 216910
           Summary: [patch] contrib/dma different behavior if called as
                    "mailq" or "/usr/bin/mailq"
           Product: Base System
           Version: 11.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: andrej at ebert.su
          Keywords: patch

Created attachment 179749
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179749&action=edit
patches dma.c

We ran into problems calling dma from the nagios check_mailq script, and found
out that it behaves correctly when called as just "mailq", but incorrectly when
called as "/usr/bin/mailq" (with a path) for example. This patch written by my
colleague Klaus-Uwe Ittner corrects this.

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


More information about the freebsd-bugs mailing list