summaryrefslogtreecommitdiff
path: root/Echolot/Pinger/Mix.pm
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2003-01-14 06:40:24 +0000
committerPeter Palfrader <peter@palfrader.org>2003-01-14 06:40:24 +0000
commitde0bd086333426c994a97addfcdfc7365c14fdf7 (patch)
treed3a8a50bb4a834ad6e2cc702cf34f4c4fcfd417b /Echolot/Pinger/Mix.pm
parente00e832d440e065e66858155264d0e79cfd3df23 (diff)
Make logging configureable
redirect stdout/err to the logfile rather than "outfile" (nothing should ever get there); redirect stderr to /dev/null when calling Mixmaster
Diffstat (limited to 'Echolot/Pinger/Mix.pm')
-rw-r--r--Echolot/Pinger/Mix.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Echolot/Pinger/Mix.pm b/Echolot/Pinger/Mix.pm
index b0cf783..6e1072d 100644
--- a/Echolot/Pinger/Mix.pm
+++ b/Echolot/Pinger/Mix.pm
@@ -1,7 +1,7 @@
package Echolot::Pinger::Mix;
# (c) 2002 Peter Palfrader <peter@palfrader.org>
-# $Id: Mix.pm,v 1.11 2003/01/14 06:04:37 weasel Exp $
+# $Id: Mix.pm,v 1.12 2003/01/14 06:40:24 weasel Exp $
#
=pod
@@ -67,7 +67,7 @@ sub ping($$$$) {
return 0;
$ENV{'MIXPATH'} = Echolot::Config::get()->{'mixhome'};
- open(MIX, "|".Echolot::Config::get()->{'mixmaster'}." -m -S -l $chaincomma") or
+ open(MIX, "|".Echolot::Config::get()->{'mixmaster'}." -m -S -l $chaincomma 2>/dev/null") or
Echolot::Log::warn("Cannot exec mixpinger: $!."),
return 0;
print MIX "To: $to\n\n$body\n";