summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-03-05 05:35:48 +0000
committernate <nate@FreeBSD.org>1996-03-05 05:35:48 +0000
commit024c50eb47f991d3f2a5a532761070d0fde6bd50 (patch)
treeb4402fea2adcc0790d7ab5ea05e894a0358a8d2c
parentec145aa7ae13cfa9670d80973c651de4ebcfee12 (diff)
downloadFreeBSD-src-024c50eb47f991d3f2a5a532761070d0fde6bd50.zip
FreeBSD-src-024c50eb47f991d3f2a5a532761070d0fde6bd50.tar.gz
Don't try running ruptime if /var/rwho doesn't exist.
-rw-r--r--etc/daily4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/daily b/etc/daily
index bb9d9ba..181cfcc 100644
--- a/etc/daily
+++ b/etc/daily
@@ -122,7 +122,9 @@ echo ""
echo "network:"
netstat -i
echo ""
-ruptime
+if [ -d /var/rwho ] ; then
+ ruptime
+fi
echo ""
if [ -f /etc/Distfile ]; then
OpenPOWER on IntegriCloud