summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/trylink5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 7a4a56d..7ea1d5c 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -41,9 +41,8 @@ try() {
printf "%s\n" "$*" >>$EXE.out
printf "%s\n" "==========" >>$EXE.out
$debug && echo "Trying: $*"
- "$@" >>$EXE.out 2>&1
- exitcode=$?
- return $exitcode
+ $@ >>$EXE.out 2>&1
+ return $?
}
check_cc() {