On Thu, Apr 15, 2004 at 03:20:08PM -0700, Justin Mason wrote:
> How's about spamd dies at startup -- before even forking -- if the
> options *would* require Storable, but it's not installed?   (basically

Already done. ;)  The code looks like:

# If we're going to be switching users in check(), let's backup the
# fresh configuration now for later restoring ...
my %conf_backup = ();
if ($setuid_to_user) {
  $spamtest->copy_config(undef, \%conf_backup) ||
    die "error returned from copy_config, no Storable module?\n";
}

# Fork off our children.
for ( 1 .. $childlimit ) {
  spawn();
}

-- 
Randomly Generated Tagline:
"Deja Fu: The feeling that somehow, somewhere, you've been kicked in the
  head like this before."            - Unknown

Attachment: pgp3SDGplp9v2.pgp
Description: PGP signature

Reply via email to