From a473c57dd8bc283a3946d852eef3403689727fa9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 15 Oct 2015 10:08:57 +0000 Subject: Remove now useless tain_now() checks --- src/s6-rc/s6-rc-update.c | 3 +-- src/s6-rc/s6-rc.c | 3 +-- 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) ; -- cgit v1.2.3