Fix spinned function not returning exit codes

This commit is contained in:
Kristóf Tóth 2018-05-02 18:17:58 +02:00
parent a440c2d1cb
commit d4931b0727
2 changed files with 2 additions and 1 deletions

View File

@ -145,6 +145,7 @@ spinned()
done
done
echo -ne "\b"
wait $pid
}
run

View File

@ -1 +1 @@
URL=https://git.io/vxBfj SHA=4cafb766699ed93a6dcb0f806b0aa7b2d677285e0bdd137c74d8ef34a4a51284 bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'
URL=https://git.io/vxBfj SHA=8594a813cdc4fd080e6b52c7cba2b41f99aa4f6bb09096d76397e7d07422b341 bash -c 'cmd="$(curl -fsSL $URL)" && [ $(echo "$cmd" | sha256sum | cut -d " " -f1) == $SHA ] && echo "$cmd" | bash || echo Checksum mismatch!'