diff options
author | roberto <roberto@FreeBSD.org> | 1999-09-12 18:13:11 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 1999-09-12 18:13:11 +0000 |
commit | 8e94c274cd98f0bdafddd2cfc5e0c01d52d5dc6c (patch) | |
tree | afa5a4abb13ae6b95f6bdbf99cac91d11967cd63 /etc/rc | |
parent | 19e7731a48a4eb97e3756995fb2a8094f13594e6 (diff) | |
download | FreeBSD-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/rc')
-rw-r--r-- | etc/rc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |