--- chown.orig 2013-09-09 17:24:17.000000000 +0900 +++ chown 2013-09-04 01:21:14.000000000 +0900 @@ -12,7 +12,12 @@ [[ ${path}/${scriptname} -ef ${scriptpath} ]] && continue IFS=$' \t\n' output=$("${path}/${scriptname}" "$@" 2>&1) - if [[ $? -ne 0 ]] ; then + if [[ $? -ne 0 ]]; then + if [[ $(wc -l <<< "${output}") -gt 100 ]]; then + output=$(head -n100 <<< "${output}") + output="${output}\n ... (further messages truncated)" + fi + source "${PORTAGE_BIN_PATH:-/home/benda/gnto/usr/lib/portage/bin}"/isolated-functions.sh if ! ___eapi_has_prefix_variables; then