summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>1999-09-12 18:13:11 +0000
committerroberto <roberto@FreeBSD.org>1999-09-12 18:13:11 +0000
commit8e94c274cd98f0bdafddd2cfc5e0c01d52d5dc6c (patch)
treeafa5a4abb13ae6b95f6bdbf99cac91d11967cd63 /etc
parent19e7731a48a4eb97e3756995fb2a8094f13594e6 (diff)
downloadFreeBSD-src-8e94c274cd98f0bdafddd2cfc5e0c01d52d5dc6c.zip
FreeBSD-src-8e94c274cd98f0bdafddd2cfc5e0c01d52d5dc6c.tar.gz
This fix adds checking for the existance of the /var/msgs
directory before attempting to create the bounds file. PR: bin/13184 Submitted by: "Stephen J. Roznowski" <sjr@home.net>
Diffstat (limited to 'etc')
-rw-r--r--etc/rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc b/etc/rc
index 620f82c..c7edbcc 100644
--- a/etc/rc
+++ b/etc/rc
@@ -384,7 +384,7 @@ if [ "${vibackup}" != '/var/tmp/vi.recover/vi.*' ]; then
fi
# make a bounds file for msgs(1) if there isn't one already
-if [ ! -f /var/msgs/bounds ]; then
+if [ -d /var/msgs -a ! -f /var/msgs/bounds ]; then
echo 0 > /var/msgs/bounds
fi
OpenPOWER on IntegriCloud