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 {