summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-01 17:30:50 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2020-06-01 17:30:50 +0300
commit62c0a12a10518607814fa661905b3c8ec0f16590 (patch)
treeb215bdaff735894dfb1b6cb789c0a3f8b2d35f20
parent094d1b3a47cf40746807820cababab3a829ac334 (diff)
Squashed 'gitstatus/' changes from ab1aea155..a827370d7
a827370d7 suppress error message from redirect git-subtree-dir: gitstatus git-subtree-split: a827370d7f11f6e6aac4a044efaef6a99ab1f1f4
-rwxr-xr-xinstall4
1 files changed, 3 insertions, 1 deletions
diff --git a/install b/install
index 65f84caf..af0f0561 100755
--- a/install
+++ b/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