Re: [patch] [RFC] pathchk quiet flag

2010-04-27 Thread Jilles Tjoelker
On Mon, Apr 26, 2010 at 08:57:31PM +0300, Eitan Adler wrote: This path adds a -q flag to stop pathchk from outputting error messages but still return an error code. Why do you need this; can't you do something like pathconf -- $pathname 2/dev/null -- Jilles Tjoelker

Re: [patch] [RFC] pathchk quiet flag

2010-04-27 Thread Eitan Adler
Why do you need this; can't you do something like  pathconf -- $pathname 2/dev/null Not much but I thought it goes along with other quiet flags (make -Q; grep -q; gzip -q; gunzip -q; etc) ___ freebsd-hackers@freebsd.org mailing list

[patch] [RFC] pathchk quiet flag

2010-04-26 Thread Eitan Adler
This path adds a -q flag to stop pathchk from outputting error messages but still return an error code. Index: pathchk.c === --- pathchk.c (revision 207232) +++ pathchk.c (working copy) @@ -51,18 +51,20 @@ static void