tags 353867 - patch
thanks

On Tue, Feb 21, 2006 at 03:55:17PM +0100, Stephan Krempel wrote:
> -               $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 ||
> +               $PREFIX/bin/rpcinfo -u localhost nfs 3 >/dev/null 2>&1 \
> +                                                      /dev/console>&1 ||

This patch does not what you think it does. More specifically, it is
identical to

  $PREFIX/bin/rpcinfo -u localhost nfs 3 /dev/console >/dev/null 2>&1

as you cannot route arbitrary files around like that, only file descriptors.
rpcinfo naturally takes no "/dev/console" parameter, and thus exits with a
syntax error, which is sent to /dev/null.

You might want to ask the libc6 people to add a "silent" option to rpcinfo,
or at least something that doesn't open /dev/console if that is indeed what's
happening.

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to