This commit is contained in:
tteckster 2023-03-21 22:10:04 -04:00 committed by GitHub
parent 54e3870b5d
commit ae7a064932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,7 @@ catch_errors
function update_script() {
UPD=$(whiptail --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 2 \
"1" "Update VaultWarden $VAULT" ON \
"1" "Update VaultWarden" ON \
"2" "Show Admin Token" OFF \
3>&1 1>&2 2>&3)
@ -43,7 +43,6 @@ fi
if [ "$UPD" == "2" ]; then
cat /etc/conf.d/vaultwarden | grep "ADMIN_TOKEN" | awk '{print substr($2, 7) }'
fi
exit
fi
}