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>
This commit is contained in:
roberto 1999-09-12 18:13:11 +00:00
parent 19e7731a48
commit 8e94c274cd

2
etc/rc
View File

@ -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