summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/trylink2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trylink b/scripts/trylink
index b8bf8b1..74acb4c 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -60,7 +60,7 @@ $ever_discarded && {
# Make the binary with final, minimal list of libs
echo "Final link with: $BBOX_LIB_LIST"
l_list=`echo "$BBOX_LIB_LIST" | sed -e 's/ / -l/g' -e 's/^/-l/'`
- try "-Wl,--start-group $l_list -Wl,--end-group" "$@" && exit 1
+ try "-Wl,--start-group $l_list -Wl,--end-group" "$@" || exit 1
}
rm busybox_ld.err
exit 0 # Ensure "success" exit code