Re: sntpclock warnings and seldom failures on Gentoo Linux

Toby Betts <[email protected]> Wed, 16 Nov 2005 14:15:29 -0500
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
Yassen Damyanov wrote:

> You are absolutely correct, so I have one stupid bug report to close.. ;-)
> 
> BTW, do you know a way to suppress those warnings?

I wouldn't recommend it: if the software is having problems connecting,
I would want to know about it. Nonetheless, these warnings are simply
written to stderr, so redirecting stderr to /dev/null will hide them:

  $./sntpclock 1.2.3.4 2>/dev/null

Note that this will not fix anyone's problems, and now instead of
complaining about "annoying warning" bugs, they'll complain about "no
warnings when things go wrong" bugs. I'd rather explain the former than
do triage on the latter.


Toby