summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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