summaryrefslogtreecommitdiff
path: root/mail/spamassassin/patches/patch-af
blob: 33146a3a576c6911ffe5aa3fd00bada6491f6762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-af,v 1.3 2003/05/22 11:41:03 abs Exp $

--- spamd/spamd.raw.orig	2003-05-20 07:06:18.000000000 +0100
+++ spamd/spamd.raw
@@ -1009,7 +1009,8 @@ sub kill_handler
 use POSIX 'setsid';
 sub daemonize
 {
-    $0 = join(' ', $0, @ARGV) unless($opt{'debug'});; # pretty command line in ps
+    # no pretty 'ps' command line (easier for NetBSD rc script)
+    # $0 = join(' ', $0, @ARGV) unless($opt{'debug'});; # pretty command line in ps
     chdir '/' or die "Can't chdir to '/': $!";
     $SIG{__WARN__} = sub { logmsg($_[0]); };
     open STDIN,'/dev/null' or die "Can't read '/dev/null': $!";