diff options
author | Jonas Smedegaard <dr@jones.dk> | 2004-06-17 01:26:29 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2004-06-17 01:26:29 +0000 |
commit | bde2e9d3376052bfca07a449d6635383f4d7b38f (patch) | |
tree | e7d2eda2bb58245e1fafdad265253821eb0d44cc /localmkpostfixvirtual | |
parent | d3ec3d72dd9f1ee94094e3017b61f0c25c6b8040 (diff) |
Do not fail whole script if virtual.addon is not found.
Diffstat (limited to 'localmkpostfixvirtual')
-rwxr-xr-x | localmkpostfixvirtual | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localmkpostfixvirtual b/localmkpostfixvirtual index 73fa26f..d75c270 100755 --- a/localmkpostfixvirtual +++ b/localmkpostfixvirtual @@ -3,7 +3,7 @@ # /usr/local/sbin/localmkpostfixvirtual # Copyright 2001-2002 Jonas Smedegaard <dr@jones.dk> # -# $Id: localmkpostfixvirtual,v 1.15 2004-06-17 01:21:32 jonas Exp $ +# $Id: localmkpostfixvirtual,v 1.16 2004-06-17 01:26:29 jonas Exp $ # # Generate virtual file for postfix # @@ -111,4 +111,4 @@ for gid in $mailgroups; do done done done -test -f /etc/postfix/virtual.addon && cat /etc/postfix/virtual.addon +test -f /etc/postfix/virtual.addon && cat /etc/postfix/virtual.addon || true |