7202036 ntpdate lies on its resume
authorBrian Utterback <brian.utterback@oracle.com>
Tue, 23 Oct 2012 07:43:48 -0700
changeset 1026 6af2048773a2
parent 1025 95d154bfbea4
child 1027 ba55ae2d54aa
7202036 ntpdate lies on its resume
components/ntp/patches/ntpdate-status.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/ntp/patches/ntpdate-status.patch	Tue Oct 23 07:43:48 2012 -0700
@@ -0,0 +1,11 @@
+--- ntpdate/ntpdate.c
++++ ntpdate/ntpdate.c
+@@ -2029,7 +2029,7 @@ l_adj_systime(
+ 	if (adjtv.tv_usec != 0 && !debug) {
+ 		if (adjtime(&adjtv, &oadjtv) < 0) {
+ 			msyslog(LOG_ERR, "Can't adjust the time of day: %m");
+-			return 0;
++			exit(1);
+ 		}
+ 	}
+ 	return 1;