From a90a1431282f8cb49b06befa1d52bc8a87d1c8d0 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 24 Jun 2018 16:43:33 -0700 Subject: [PATCH] Don't print error if there is none https://sourceforge.net/p/webadmin/bugs/5143/ --- time/time-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/time/time-lib.pl b/time/time-lib.pl index adb98b6b2..965067526 100755 --- a/time/time-lib.pl +++ b/time/time-lib.pl @@ -95,7 +95,7 @@ return undef; sub sync_time_cron { my $err = &sync_time($config{'timeserver'}, $config{'timeserver_hardware'}); -print STDERR $err; +print STDERR $err if ($err); } sub has_timezone