--- /root/unstable/mailscanner/mailscanner/bin/MailScanner/Log.pm	Wed Nov  6 14:45:15 2002
+++ Log.pm	Thu Nov  7 19:12:59 2002
@@ -55,7 +55,10 @@
   if ($LogType eq 'syslog') {
     # Do this in an eval so it can fail quietly if setlogsock
     # is not supported in the installed version of Sys::Syslog
-    eval { Sys::Syslog::setlogsock('unix'); }; # Doesn't need syslogd -r
+    eval { $SIG{'__DIE__'} = 'IGNORE';
+           Sys::Syslog::setlogsock('unix');
+         }; # Doesn't need syslogd -r
+    $SIG{'__DIE__'} = 'DEFAULT';
     Sys::Syslog::openlog($name, 'pid, nowait', $facility);
   }
   