summaryrefslogtreecommitdiff
path: root/scripts/trylink
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/trylink')
-rwxr-xr-xscripts/trylink2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trylink b/scripts/trylink
index 1cd50c6..52931b0 100755
--- a/scripts/trylink
+++ b/scripts/trylink
@@ -7,7 +7,7 @@ try() {
shift
$debug && echo "Trying: $* $added"
"$@" $added >busybox.map 2>busybox_ld.err \
- && exit 0
+ && { rm busybox_ld.err; exit 0; }
}
try "" "$@"