From 280bf41780496c2e25d21aafd6680a535110073d Mon Sep 17 00:00:00 2001 From: cjwatson <> Date: Tue, 13 Jan 2004 19:25:57 -0800 Subject: [PATCH] [project @ 2004-01-13 19:25:57 by cjwatson] Exit immediately unless $gSpamScan is set. --- scripts/spamscan.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/spamscan.in b/scripts/spamscan.in index 15a4c642..2dfa260d 100755 --- a/scripts/spamscan.in +++ b/scripts/spamscan.in @@ -1,5 +1,5 @@ #! /usr/bin/perl -T -# $Id: spamscan.in,v 1.2 2004/01/13 19:01:13 cjwatson Exp $ +# $Id: spamscan.in,v 1.3 2004/01/13 19:25:57 cjwatson Exp $ # # Usage: spamscan # @@ -18,6 +18,8 @@ require "$config_path/config"; require "$lib_path/errorlib"; $ENV{PATH} = $lib_path . ':' . $ENV{PATH}; +exit unless $gSpamScan; + chdir $gSpoolDir or die "chdir spool: $!\n"; push @INC, $lib_path; -- 2.39.5