diff options
author | 2005-03-08 14:28:55 +0000 | |
---|---|---|
committer | 2005-03-08 14:28:55 +0000 | |
commit | 8d11805698ddd69a372a262068ee2b16794b16bd (patch) | |
tree | 501a7c553b317c0869679d38925f20a2adfdb973 | |
parent | only print if we hit the via quirk timeout when debugging (diff) | |
download | wireguard-openbsd-8d11805698ddd69a372a262068ee2b16794b16bd.tar.xz wireguard-openbsd-8d11805698ddd69a372a262068ee2b16794b16bd.zip |
from the "shut the fuck up, ntpd" department:
move log_debug call to tell about skipping the settime due to lack of
answers down slightly below the 2nd (and final) log_init call so it becomes
a -d only thing. tested by dlg and me
-rw-r--r-- | usr.sbin/ntpd/ntpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c index 355ae70271c..2d9fbf7a374 100644 --- a/usr.sbin/ntpd/ntpd.c +++ b/usr.sbin/ntpd/ntpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntpd.c,v 1.29 2005/02/02 18:52:32 henning Exp $ */ +/* $OpenBSD: ntpd.c,v 1.30 2005/03/08 14:28:55 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -165,11 +165,11 @@ main(int argc, char *argv[]) } if (nfds == 0 && conf.settime) { - log_debug("no reply received, skipping initial time " - "setting"); conf.settime = 0; timeout = INFTIM; log_init(conf.debug); + log_debug("no reply received, skipping initial time " + "setting"); if (!conf.debug) if (daemon(1, 0)) fatal("daemon"); |