Update pialert.sh

update
This commit is contained in:
tteckster 2023-09-18 00:38:38 -04:00 committed by GitHub
parent fc8ddc3a7c
commit 97219fc7c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,8 +53,9 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/pialert ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_error "There is currently no update path available."
exit
msg_info "Updating $APP"
update
msg_ok "Updated $APP"
}
start