FreeBSD Bugzilla – Attachment 188987 Details for
Bug 222122
mail/opendkim rc script needs default for $milteropendkim_socket
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
quote possible empty strings
milter-opendim.diff (text/plain), 1.26 KB, created by
Matthias Pfaller
on 2017-12-20 09:14:05 UTC
(
hide
)
Description:
quote possible empty strings
Filename:
MIME Type:
Creator:
Matthias Pfaller
Created:
2017-12-20 09:14:05 UTC
Size:
1.26 KB
patch
obsolete
>--- /usr/local/etc/rc.d/milter-opendkim 2017-12-20 09:55:49.753794000 +0100 >+++ /tmp/milter-opendkim 2017-12-20 09:56:03.436497000 +0100 >@@ -178,19 +178,19 @@ > { > # postcmd is executed too fast and socket is not created before checking... > sleep 1 >- if [ -S ${milteropendkim_socket##local:} ] ; then >- chmod ${_piddir_perms} ${milteropendkim_socket##local:} >- elif [ -S ${milteropendkim_socket##unix:} ] ; then >- chmod ${_piddir_perms} ${milteropendkim_socket##unix:} >+ if [ -S "${milteropendkim_socket##local:}" ] ; then >+ chmod ${_piddir_perms} "${milteropendkim_socket##local:}" >+ elif [ -S "${milteropendkim_socket##unix:}" ] ; then >+ chmod ${_piddir_perms} "${milteropendkim_socket##unix:}" > fi > } > > dkim_postcmd() > { >- if [ -S ${milteropendkim_socket##local:} ] ; then >- rm -f ${milteropendkim_socket##local:} >- elif [ -S ${milteropendkim_socket##unix:} ] ; then >- rm -f ${milteropendkim_socket##unix:} >+ if [ -S "${milteropendkim_socket##local:}" ] ; then >+ rm -f "${milteropendkim_socket##local:}" >+ elif [ -S "${milteropendkim_socket##unix:}" ] ; then >+ rm -f "${milteropendkim_socket##unix:}" > fi > # just if the directory is empty > rmdir ${_piddir} > /dev/null 2>&1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222122
: 188987