summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-10-15 10:08:57 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-10-15 10:08:57 +0000
commita473c57dd8bc283a3946d852eef3403689727fa9 (patch)
tree0595ebb32dd2afbacc7d96cee35ef6df01116c15
parentcff4858e62fde21695f5d2903456a32a638248f9 (diff)
downloads6-rc-a473c57dd8bc283a3946d852eef3403689727fa9.tar.xz
Remove now useless tain_now() checksv0.0.1.2
-rw-r--r--src/s6-rc/s6-rc-update.c3
-rw-r--r--src/s6-rc/s6-rc.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/s6-rc/s6-rc-update.c b/src/s6-rc/s6-rc-update.c
index 495bea5..608ecf3 100644
--- a/src/s6-rc/s6-rc-update.c
+++ b/src/s6-rc/s6-rc-update.c
@@ -663,8 +663,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
unsigned int oldn, newn ;
char dbfn[livelen + 10] ;
- if (!tain_now_g())
- strerr_warnwu1x("get correct TAI time. (Do you have a valid leap seconds file?)") ;
+ tain_now_g() ;
tain_add_g(&deadline, &deadline) ;
diff --git a/src/s6-rc/s6-rc.c b/src/s6-rc/s6-rc.c
index 2b6e54c..5758175 100644
--- a/src/s6-rc/s6-rc.c
+++ b/src/s6-rc/s6-rc.c
@@ -563,8 +563,7 @@ int main (int argc, char const *const *argv)
return 0 ;
}
- if (!tain_now_g())
- strerr_warnwu1x("get correct TAI time. (Do you have a valid leap seconds file?)") ;
+ tain_now_g() ;
tain_add_g(&deadline, &deadline) ;