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

Stormy stormy1777 at yahoo.com
Fri Jun 10 22:32:50 UTC 2011


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.

Thanks.



More information about the questions mailing list