aboutsummaryrefslogtreecommitdiff
path: root/gitstatus/install
diff options
context:
space:
mode:
Diffstat (limited to 'gitstatus/install')
-rwxr-xr-xgitstatus/install4
1 files changed, 3 insertions, 1 deletions
diff --git a/gitstatus/install b/gitstatus/install
index 65f84caf..af0f0561 100755
--- a/gitstatus/install
+++ b/gitstatus/install
@@ -286,7 +286,9 @@ END
else
url="$2"."$part"
fi
- $fetch "$url" >>"$1".tar.gz 2>/dev/null &
+ { $fetch "$url" >>"$1".tar.gz 2>/dev/null & } 2>/dev/null
+ ret=$?
+ [ "$ret" = 0 ] || break
pid=$!
die="trap - $sig; kill -- $pid 2>/dev/null; exit 1"
trap "$die" $sig