Don't display last 100 lines

In many cases, the error does not appear in the last 100 lines. Let it
up to the user to investigate... just point him to the right file.
debian-cd
Raphaël Hertzog 10 years ago
parent 9d6112bc6f
commit 35abcad17b

@ -61,11 +61,7 @@ default_version() {
}
failure() {
echo "Build of $KALI_DIST/$KALI_ARCH live image failed" >&2
if [ -z "$VERBOSE" ]; then
echo "Last 100 lines of build.log:" >&2
tail -n 100 build.log >&2
fi
echo "Build of $KALI_DIST/$KALI_ARCH live image failed (see build.log for details)" >&2
exit 2
}

Loading…
Cancel
Save