summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1999-06-22 06:34:52 +0000
committerSatoshi Asami <asami@FreeBSD.org>1999-06-22 06:34:52 +0000
commit15d5069eb1a6b224f1c749e9afdc613b61628491 (patch)
tree95deec0264ff07a646eb42194be06fe9463d5031
parentTypo ("go-maku" -> "go-moku"). (diff)
Delete the chroot dirs before starting the load average reporting
script so that a rebooting machine doesn't join the cluster in an unclean state.
Notes
Notes: svn path=/head/; revision=19624
Diffstat (limited to '')
-rwxr-xr-xTools/portbuild/scripts/reportload.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/reportload.sh b/Tools/portbuild/scripts/reportload.sh
index ebae31437c6e..420a7d3db1db 100755
--- a/Tools/portbuild/scripts/reportload.sh
+++ b/Tools/portbuild/scripts/reportload.sh
@@ -1,6 +1,10 @@
#!/bin/sh
-s=/a/asami/portbuild/scripts/reportload
+b=/a/asami/portbuild
+s=$b/scripts/reportload
+
+echo -n ' chroot'
+rm -rf $b/*/chroot/*
if [ -x $s ]; then
$s &