Skip to contentSkip to conversation

fix stderr redirect in the init script

PATCH New Jeff Moyer 1 participant 1 message Nov 9, 2006 Kernel automounter

lore
Share & tools
lore

Jeff Moyer

author
#0 lore raw

PATCH 1/1 fix stderr redirect in the init script

Hi, Ian, list,

Someone put a space where it doesn't belong, inbetween the '2' and the '>' in 2>. This isn't interpreted as a stderr redirect. Fixie, fixie.

-Jeff

samples/rc.autofs.in +1 -1
index 27ef6bb..f6f0444 100644
@@ -446,7 +446,7 @@ function signal_automounts()
 	pgrp_pids=`get_pgrp_pids`
 	for pid in $pgrp_pids
 	do
-		kill -USR2 $pid 2 > /dev/null
+		kill -USR2 $pid 2> /dev/null
 		count=0
 		while ps ax|grep -v grep|grep $pid >/dev/null
 		do