summaryrefslogtreecommitdiff
path: root/security/drweb-sendmail/files/patch-af
blob: 5cd3304133c4eb2024babe3c26447359175e31aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ../sendmail/template.initscript.orig	Wed Sep 26 01:02:29 2001
+++ ../sendmail/template.initscript	Wed Oct  3 22:36:07 2001
@@ -13,7 +13,7 @@
 # Use these if cannot found functions
 dw_daemon() {
     ulimit -c 0
-    $* &
+    $*
     return $?
 }
 
@@ -105,9 +105,7 @@
     RETVAL=$?
     if [ $RETVAL -eq 0 ] ; then
         [ $FILTER_UNIX = "yes" ] && rm -f $FILTER_SOCKET
-        if [ "x$DAEMON_PID" != "x" ] ; then
-            sleep 1
-        fi
+	[ $DAEMON_UNIX = "yes" ] && chmod 660 $DAEMON_SOCKET
         $PROC_DAEMON $FILTER_CMD
         RETVAL=$?
     fi