From 43ff156daa04b0580860d0ac94ed089ab81a179a Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 30 May 1997 07:11:52 +0000 Subject: [PATCH] 1 fix from enami@ba2.so-net.or.jp --- src/etc/daily | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/daily b/src/etc/daily index ddd351a6..badba77b 100644 --- a/src/etc/daily +++ b/src/etc/daily @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: daily,v 1.18 1997/02/19 16:49:18 millert Exp $ +# $OpenBSD: daily,v 1.19 1997/05/30 07:11:52 deraadt Exp $ # From: @(#)daily 8.2 (Berkeley) 1/25/94 # PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin @@ -178,7 +178,7 @@ if [ -f /etc/Distfile ]; then echo "" echo "Running rdist:" if [ -d /var/log/rdist ]; then - logf=`date | awk '{printf "%s.%s.%s", $6, $2, $3}'` + logf=`date +%Y.%b.%e` rdist -f /etc/Distfile 2>&1 | tee /var/log/rdist/$logf else rdist -f /etc/Distfile