chiark
/
gitweb
/
~mdw
/
exim-config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c921c9
)
vhost.m4: Don't crash if `domains.conf' doesn't exist.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 25 Jan 2014 13:48:19 +0000
(13:48 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 25 Jan 2014 13:48:19 +0000
(13:48 +0000)
vhost.m4
patch
|
blob
|
blame
|
history
diff --git
a/vhost.m4
b/vhost.m4
index 07ca79eba51a766a0b5b1ba655a1156d11c0fb33..5e81f56b8daff629c66a0910e6dbde67501cacec 100644
(file)
--- a/
vhost.m4
+++ b/
vhost.m4
@@
-22,7
+22,9
@@
### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
m4_define(<:VHOST:>,
- <:domains = partial0-lsearch; CONF_sysconf_dir/domains.conf
+ <:domains = ${if exists{CONF_sysconf_dir/domains.conf} \
+ {partial0-lsearch; CONF_sysconf_dir/domains.conf} \
+ {}}
condition = DOMKV($1):>)
m4_define(<:VHOST_FILTER:>,
<:FILTER_BASE