lpgcc was too noisy in some cases
Signed-off-by: Patrick Georgi <patrick.georgi(a)secunet.com>
---
payloads/libpayload/bin/lpgcc | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/payloads/libpayload/bin/lpgcc b/payloads/libpayload/bin/lpgcc
index 826e498..57015d5 100755
--- a/payloads/libpayload/bin/lpgcc
+++ b/payloads/libpayload/bin/lpgcc
@@ -30,12 +30,14 @@
# let's not recurse.
# This is a hack, I know, but it makes sure that really simple user errors
# don't fork-bomb your machine.
-echo "CC = $CC"
+# echo "CC = $CC"
+if [ -n "$CC" ]; then
b=`basename $CC`
if [ "$b" = "lpgcc" ]; then
CC=""
fi
+fi
--
1.7.1