From: cjwatson <> Date: Wed, 14 Jan 2004 03:25:57 +0000 (-0800) Subject: [project @ 2004-01-13 19:25:57 by cjwatson] X-Git-Tag: release/2.6.0~771 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=280bf41780496c2e25d21aafd6680a535110073d;p=debbugs.git [project @ 2004-01-13 19:25:57 by cjwatson] Exit immediately unless $gSpamScan is set. --- diff --git a/scripts/spamscan.in b/scripts/spamscan.in index 15a4c64..2dfa260 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;