[ntp:questions] why does ntpq return zero even on failures?

Stormy stormy1777 at yahoo.com
Mon Jun 13 03:27:08 UTC 2011


which is why I sent it to bugs list first, however it was rejected without any explanation with:

"Your request to the bugs mailing list

    Posting of your message titled "ntpq return code upon failures"

has been rejected by the list moderator.  The moderator gave the
following reason for rejecting your request:

"The best venue for your question is the comp.protocols.time.ntp
Usenet newsgroup.

If you don't have NNTP access please use Google Groups or the
questions at lists.ntp.org mailing list (which is gatewayed to the NTP

--- On Sun, 6/12/11, Harlan Stenn <stenn at ntp.org> wrote:

> From: Harlan Stenn <stenn at ntp.org>
> Subject: Re: [ntp:questions] why does ntpq return zero even on failures?
> To: "Stormy" <stormy1777 at yahoo.com>
> Cc: questions at lists.ntp.org
> Date: Sunday, June 12, 2011, 5:29 PM
> Stormy wrote:
> > why does ntpq return zero even on failures?
> > 
> > # ntpq -p abcdefgh
> > Name or service not known
> > # echo $?
> > 0
> > 
> > other failures, like timeouts, etc. still always exit
> code is zero.
> Sounds to me like an item for http://bugs.ntp.org .
> H

More information about the questions mailing list