diff --git a/usr.sbin/ac/ac.c b/usr.sbin/ac/ac.c index f59cf3762fe2..2e8d0e8dc6e7 100644 --- a/usr.sbin/ac/ac.c +++ b/usr.sbin/ac/ac.c @@ -15,7 +15,7 @@ #ifndef lint static const char rcsid[] = - "$Id$"; + "$Id: ac.c,v 1.8 1997/09/01 06:11:40 charnier Exp $"; #endif /* not lint */ #include @@ -517,7 +517,8 @@ ac(fp) } } (void)fclose(fp); - usr.ut_time = time((time_t *)0); + if (!(Flags & AC_W)) + usr.ut_time = time((time_t *)0); (void)strcpy(usr.ut_line, "~"); if (Flags & AC_D) {