diff options
Diffstat (limited to 'src/usr.bin/calendar/calendar.c')
-rw-r--r-- | src/usr.bin/calendar/calendar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr.bin/calendar/calendar.c b/src/usr.bin/calendar/calendar.c index b4605b0..094001f 100644 --- a/src/usr.bin/calendar/calendar.c +++ b/src/usr.bin/calendar/calendar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: calendar.c,v 1.31 2015/04/18 18:28:37 deraadt Exp $ */ +/* $OpenBSD: calendar.c,v 1.32 2015/10/23 11:43:16 zhuk Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -178,7 +178,7 @@ main(int argc, char *argv[]) if (acstat) { if (chdir(pw->pw_dir) || stat(calendarFile, &sbuf) != 0 || - chdir(calendarHome) || + chdir(calendarHome) || stat(calendarNoMail, &sbuf) == 0 || stat(calendarFile, &sbuf) != 0) exit(0); |