[pkg-ntp-maintainers] Bug#863516: [ntpdate] Returns success exit code on errors

Roman Mamedov rm at romanrm.net
Sat May 27 21:18:52 UTC 2017


Package: ntpdate
Version: 1:4.2.6.p5+dfsg-7+deb8u2
Severity: normal

On (some?) errors ntpdate exits with zero (success) exit code:

# ntpdate 2.pool.ntp.org && echo OK || echo Fail
21 Oct 22:34:55 ntpdate[2729]: Can't adjust the time of day: Invalid argument
OK

--- System information. ---
Architecture: armhf
Kernel:       3.4.104-r0-d20-rm2+

-- 
With respect,
Roman



More information about the pkg-ntp-maintainers mailing list