Browse Source

Only run msgs -c if /var/msgs exists and is not a symlink.

OPENBSD_2_5
downsj 26 years ago
parent
commit
444833e1f4
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/etc/daily

+ 4
- 2
src/etc/daily View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: daily,v 1.25 1998/08/13 21:57:39 millert Exp $
# $OpenBSD: daily,v 1.26 1998/11/11 11:23:02 downsj Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94 # From: @(#)daily 8.2 (Berkeley) 1/25/94
# #
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
@ -72,7 +72,9 @@ if egrep -qv '\.core$' $TMP; then
egrep -v '\.core$' $TMP egrep -v '\.core$' $TMP
fi fi
msgs -c
if [ -d /var/msgs -a ! -L /var/msgs ]; then
msgs -c
fi
if [ -s /etc/news.expire ]; then if [ -s /etc/news.expire ]; then
/etc/news.expire /etc/news.expire


Loading…
Cancel
Save