diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-22 18:52:06 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-22 18:52:06 +0000 |
commit | 16477efacfec2f0bf0ba5a31b991c0c57edfbfe9 (patch) | |
tree | 459a7953854135b791e222ad95eee0cc58d0a671 /packages/spamd.xml | |
parent | b30008ecd12fceb33c1af7d5af02b8f9737cdbb2 (diff) | |
download | pfsense-packages-16477efacfec2f0bf0ba5a31b991c0c57edfbfe9.tar.gz pfsense-packages-16477efacfec2f0bf0ba5a31b991c0c57edfbfe9.tar.bz2 pfsense-packages-16477efacfec2f0bf0ba5a31b991c0c57edfbfe9.zip |
Attempt to correct a spamd xml error
Diffstat (limited to 'packages/spamd.xml')
-rw-r--r-- | packages/spamd.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml index ff0a6f69..ccd97d28 100644 --- a/packages/spamd.xml +++ b/packages/spamd.xml @@ -120,7 +120,7 @@ fwrite($fd, "\t:file=/var/mail/whitelist.txt\n"); /* loop through each item and write out its configuration */ fwrite($fd, "\n# begin of user created entries\n"); - if($config['installedpackages']['spamd']['config']) { + if($config['installedpackages']['spamd']['config'] != "") { foreach($config['installedpackages']['spamd']['config'] as $spamd) { fwrite($fd, rtrim($spamd['providername']) . ":\\\n"); fwrite($fd, "\t:" . rtrim($spamd['providertype']) . ":\\\n"); @@ -137,7 +137,7 @@ fwrite($fd, $spamd['ip'] . "\n"); } fclose($fd); - system("/usr/local/etc/rc.d/spamd 2>/dev/null"); + system("/usr/local/etc/rc.d/spamd start"); conf_mount_ro(); config_unlock(); } |