a0480c3ad4
hosts. Bump to nocol-4.3.1nb2
13 lines
489 B
Text
13 lines
489 B
Text
$NetBSD: patch-aj,v 1.1 2002/05/14 08:38:26 abs Exp $
|
|
|
|
--- utility/notifier.pl.orig Tue May 7 09:57:22 2002
|
|
+++ utility/notifier.pl
|
|
@@ -256,7 +256,7 @@
|
|
sub EmailNotify { # Send email notification of fault
|
|
local ($id, $address, $message) = @_;
|
|
|
|
- if ($email_program =~ /ucb/) {
|
|
+ if ($^O eq 'netbsd' || $email_program =~ /ucb/) {
|
|
open(XPIPE, "|$email_program -s \"NOCOL notification: $sitename{i} $siteaddr{$i}\" $address") ||
|
|
die "Cannot open $email_program.\n";
|
|
}
|