[Bug 212788] [patch] mail/dovecot2 rc script change test -f to test -s

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 18 09:15:10 UTC 2016


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

            Bug ID: 212788
           Summary: [patch] mail/dovecot2 rc script change test -f to test
                    -s
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: adamw at FreeBSD.org
          Reporter: ohauer at FreeBSD.org
          Assignee: adamw at FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(adamw at FreeBSD.org)

Created attachment 174903
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174903&action=edit
better test parameter

The rc script should not only check if a config file is available but also if
it is empty.
To reach this change the test clause from "-f" to "-s".

Sure this will not guaranty the config contains useful information but prevents
dovecot to start with an empty config file

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


More information about the freebsd-ports-bugs mailing list