Update of mharc/bin
Modified Files:
filter-spool
Log Message:
Fixed checking of is_spool setting. Before, is_spool would always
evaluate to 1.
======================================================================
FILE: mharc/bin/filter-spool
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mharc/bin/filter-spool?rev=1.12>
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mharc/bin/filter-spool.diff?r1=1.11&r2=1.12&diff_format=h>
--- filter-spool 27 Sep 2002 05:01:07 -0000 1.11
+++ filter-spool 7 May 2006 02:04:06 -0000 1.12
@@ -106,7 +106,9 @@
$config->{'ORGMAIL'} ||
join('/', '/var/mail', $ENV{'LOGNAME'});
- my $is_spool = $opt{'is-spool'} ||
- $config->{'IS_MAIL_SPOOL'} ||
- 1;
+ my $is_spool = defined($opt{'is-spool'})
+ ? $opt{'is-spool'}
+ : defined($config->{'IS_MAIL_SPOOL'})
+ ? $config->{'IS_MAIL_SPOOL'}
+ : 1;
my $lock_to = $opt{'lock-timeout'} ||
$config->{'ORGMAIL_LOCK_TIMEOUT'} ||
---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-COMMITS