Commits

Cameron Simpson committed 0c9f3c6

killpids: discard stderr from kill

  • Participants
  • Parent commits 6d878f7

Comments (0)

Files changed (1)

File bin/killpids

 do
   livepids=
   for pid
-  do $trace kill $sigopt "$pid" && livepids="$livepids $pid"
+  do  $trace kill $sigopt "$pid" 2>/dev/null && livepids="$livepids $pid"
   done
 
   [ -n "$livepids" ] || break