From fe7b5be8b0b01fa172f03db314c564eea533b099 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 24 Aug 2007 17:02:32 +0000 Subject: [PATCH] Cosmetics: print 0 instead of -0. From Zafer Aydogan in PR bin/36831. --- etc/rc.d/rtclocaltime | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/rtclocaltime b/etc/rc.d/rtclocaltime index 667404bad8e1..d8f6a82711fa 100755 --- a/etc/rc.d/rtclocaltime +++ b/etc/rc.d/rtclocaltime @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: rtclocaltime,v 1.5 2006/10/01 15:17:51 sketch Exp $ +# $NetBSD: rtclocaltime,v 1.6 2007/08/24 17:02:32 martin Exp $ # # PROVIDE: rtclocaltime @@ -18,7 +18,7 @@ rtclocaltime_start() { rtcoff=$(date '+%z' | awk '{ offset = int($1); - if (offset < 0) { + if (offset <= 0) { sign = -1; offset = -offset; } else {