From 4d4f8bc4290f1214fe579143caffedae512355a1 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Mon, 11 Aug 1997 04:06:49 +0000 Subject: [PATCH] Make "make-localhost" Y2K safe by using "date +%Y" instead of "date +%y" to pick the serial number. PR: misc/3465 Submitted by: sjr1@flash.net (Stephen J. Roznowski) --- etc/namedb/make-localhost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/namedb/make-localhost b/etc/namedb/make-localhost index e321da64221..72bc92ea974 100755 --- a/etc/namedb/make-localhost +++ b/etc/namedb/make-localhost @@ -25,7 +25,7 @@ else fullhost="$host.$domain" fi -date=`date +"%y%m%d"` +date=`date +"%Y%m%d"` mv -f localhost.rev localhost.rev.BAK 2>/dev/null