1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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:
Ollivier Robert 1999-09-12 18:13:11 +00:00
parent e46cd3d4d2
commit 2a87314062
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=51210

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