Skip to content
Commit 3a4bf863 authored by Matt Selsky's avatar Matt Selsky
Browse files

Catch ntp.packet.ControlException in ntpwait

Mimic error messages from ntp Classic's ntp-wait when ntpwait encounters an
access control problem

Also, ensure that 'msg' is declared outside of the try/except block so that it
exists later when we test for existence, even if we have exceptions raised

Fixes GitLab issue #309
parent fdb63ab2
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment