1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-25 13:30:07 +00:00

Squashed 'gitstatus/' changes from ab1aea155..a827370d7

a827370d7 suppress error message from redirect

git-subtree-dir: gitstatus
git-subtree-split: a827370d7f11f6e6aac4a044efaef6a99ab1f1f4
This commit is contained in:
Roman Perepelitsa 2020-06-01 16:30:50 +02:00
parent 094d1b3a47
commit 62c0a12a10

View file

@ -286,7 +286,9 @@ END
else else
url="$2"."$part" url="$2"."$part"
fi 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=$! pid=$!
die="trap - $sig; kill -- $pid 2>/dev/null; exit 1" die="trap - $sig; kill -- $pid 2>/dev/null; exit 1"
trap "$die" $sig trap "$die" $sig