diff options
Diffstat (limited to 'processmail')
-rwxr-xr-x | processmail | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/processmail b/processmail index 7cf4caac1..ee6b92ad1 100755 --- a/processmail +++ b/processmail @@ -206,7 +206,7 @@ if (open(FID, "<data/nomail")) { my $regenerate = 0; -if ($ARGV[0] eq "regenerate") { +if (($#ARGV >= 1) && ($ARGV[0] eq "regenerate")) { $regenerate = 1; $#ARGV = -1; SendSQL("select bug_id from bugs order by bug_id"); |