Refactor update commands to use STD variable

This commit is contained in:
Tobias 2025-09-11 15:56:53 +02:00 committed by GitHub
parent 63210bd46b
commit e38236b008
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,8 +33,8 @@ function update_script() {
msg_ok "Stopped $APP"
msg_info "Updating $APP"
apt-get update
apt-get upgrade telegraf -y
$STD apt-get update
$STD apt-get upgrade telegraf -y
msg_ok "Updated $APP"
msg_info "Starting $APP"