mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-23 21:41:57 +00:00
Update vaultwarden-update.sh
stop execution instantly if a query exits while having a non-zero status.
This commit is contained in:
parent
9e16245ed0
commit
e69b1a461a
@ -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…
Reference in New Issue
Block a user