components/ntp/patches/ntpdate-status.patch
author Brian Utterback <brian.utterback@oracle.com>
Tue, 23 Oct 2012 07:43:48 -0700
changeset 1026 6af2048773a2
permissions -rw-r--r--
7202036 ntpdate lies on its resume

--- 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;