diff options
-rwxr-xr-x | Tools/portbuild/scripts/reportload.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Tools/portbuild/scripts/reportload.sh b/Tools/portbuild/scripts/reportload.sh index 5516e71d3a8a..ea4a90d71e41 100755 --- a/Tools/portbuild/scripts/reportload.sh +++ b/Tools/portbuild/scripts/reportload.sh @@ -6,12 +6,10 @@ if [ "$1" != "start" ]; then exit; fi pb=/var/portbuild +arch=$(cat /etc/arch) s=$pb/scripts/reportload -echo -n ' chroot' -rm -rf $pb/*/chroot/* - if [ -x $s ]; then - $s & + $s ${arch} & echo -n ' reportload' fi |