Refactor update commands to use STD variable
This commit is contained in:
parent
63210bd46b
commit
e38236b008
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user