From 444833e1f4a0ee3d7c24da6cb67df7941bfbd0da Mon Sep 17 00:00:00 2001 From: downsj <> Date: Wed, 11 Nov 1998 11:23:02 +0000 Subject: [PATCH] Only run msgs -c if /var/msgs exists and is not a symlink. --- src/etc/daily | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/etc/daily b/src/etc/daily index 6e721425..78f818b6 100644 --- a/src/etc/daily +++ b/src/etc/daily @@ -1,6 +1,6 @@ #!/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 # PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin @@ -72,7 +72,9 @@ if egrep -qv '\.core$' $TMP; then egrep -v '\.core$' $TMP fi -msgs -c +if [ -d /var/msgs -a ! -L /var/msgs ]; then + msgs -c +fi if [ -s /etc/news.expire ]; then /etc/news.expire