Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Sep 2016 09:15:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212788] [patch] mail/dovecot2 rc script change test -f to test -s
Message-ID:  <bug-212788-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212788

            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@FreeBSD.org
          Reporter: ohauer@FreeBSD.org
          Assignee: adamw@FreeBSD.org
          Keywords: patch
             Flags: maintainer-feedback?(adamw@FreeBSD.org)

Created attachment 174903
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174903&action=
=3Dedit
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 prev=
ents
dovecot to start with an empty config file

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212788-13>