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

Harlan Stenn stenn at ntp.org
Mon Jun 13 00:29:36 UTC 2011


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