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
1 changed files with 3 additions and 2 deletions

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