summaryrefslogtreecommitdiffstats
path: root/core/includes
diff options
context:
space:
mode:
Diffstat (limited to 'core/includes')
-rw-r--r--core/includes/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/includes/system.inc b/core/includes/system.inc
index 8885eb65..d852310e 100644
--- a/core/includes/system.inc
+++ b/core/includes/system.inc
@@ -58,7 +58,7 @@ __init () {
# Enable distcc?
testfile="/tmp/test.$$.${RANDOM}.c"
echo "int main() { return 0; }" > "$testfile"
- DISTCC_FALLBACK=0 distcc "gcc-${ver}" -o "${testfile}.bin" -c "$testfile"
+ DISTCC_FALLBACK=0 distcc "gcc-${ver}" -o "${testfile}.bin" -c "$testfile" &>/dev/null
ret=$?
if [ "$ret" = 0 ] && [ -f "${testfile}.bin" ]; then
if [[ "$CC$CXX" == */ccache* ]]; then
@@ -77,7 +77,7 @@ __init () {
fi
export MAKEFLAGS="-j40"
fi
- rm -- "$testfile" "${testfile}.bin"
+ rm -f -- "$testfile" "${testfile}.bin"
fi
}