Tinderd rc script doesn't redirect stderr

Chris Rees crees at marcuscom.com
Sat May 21 15:49:21 EDT 2011


Hi all,

I've noticed that after restarting tinderd I get all the errors spewed
into the current terminal...

Attached is a patch to the rc script containing:

-    command_args=">/dev/null &"
+    command_args=">/dev/null 2>&1 &"

Given permission I'll commit it, but it's really outside my area of authority.

Chris
-------------- next part --------------
Index: etc/rc.d/tinderd
===================================================================
RCS file: /space/cvs/marcuscom-cvs/portstools/tinderbox/etc/rc.d/tinderd,v
retrieving revision 1.7
diff -u -r1.7 tinderd
--- etc/rc.d/tinderd	19 Sep 2008 17:06:38 -0000	1.7
+++ etc/rc.d/tinderd	21 May 2011 19:47:37 -0000
@@ -36,7 +36,7 @@
 then
     command_args=" &"
 else
-    command_args=">/dev/null &"
+    command_args=">/dev/null 2>&1 &"
 fi
 
 run_rc_command "$1"


More information about the tinderbox-list mailing list