Index: head/Tools/portbuild/scripts/reportload =================================================================== --- head/Tools/portbuild/scripts/reportload (revision 118445) +++ head/Tools/portbuild/scripts/reportload (revision 118446) @@ -1,14 +1,16 @@ #!/bin/sh # # This is run on the clients to report their loads to the server. # configurable variables pb=/var/portbuild arch=$1 . ${pb}/${arch}/portbuild.conf -. ${pb}/${arch}/portbuild.$(hostname) +if [ -f ${pb}/${arch}/portbuild.$(hostname) ]; then + . ${pb}/${arch}/portbuild.$(hostname) +fi num=$(echo $(ls -1d ${scratchdir}/*/chroot/*/used 2>/dev/null| wc -l)) echo -n "$num " uptime Property changes on: head/Tools/portbuild/scripts/reportload ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.8 \ No newline at end of property +1.9 \ No newline at end of property