diff --git a/etc/rc.subr b/etc/rc.subr index 48aadb92efb3..9830ec86ac88 100644 --- a/etc/rc.subr +++ b/etc/rc.subr @@ -267,7 +267,7 @@ _find_processes() fi _proccheck=' - ps -o "pid,command" '"$_psargs"' | + ps 2>/dev/null -o "pid,command" '"$_psargs"' | while read _npid '"$_fp_args"'; do case "$_npid" in PID)