Update vaultwarden-update.sh

stop execution instantly if a query exits while having a non-zero status.
pull/752/head
tteckster 2 years ago committed by GitHub
parent 9e16245ed0
commit e69b1a461a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,5 @@
#!/usr/bin/env bash
set -e
VAULT=$(curl -s https://api.github.com/repos/dani-garcia/vaultwarden/releases/latest |
grep "tag_name" |
awk '{print substr($2, 2, length($2)-3) }')

Loading…
Cancel
Save

Powered by BW's shoe-string budget.