From f5fbf7dad72942d68d6911e852d3430e4aae6756 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:06:05 +0200 Subject: [PATCH] Redirect output of repository addition to /dev/null --- install/telegraf-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/telegraf-install.sh b/install/telegraf-install.sh index 41c1633c..a92ffe9b 100644 --- a/install/telegraf-install.sh +++ b/install/telegraf-install.sh @@ -21,12 +21,12 @@ gpg --show-keys --with-fingerprint --with-colons ./influxdata-archive.key 2>&1 \ | gpg --dearmor \ | tee /etc/apt/keyrings/influxdata-archive.gpg > /dev/null \ && echo 'deb [signed-by=/etc/apt/keyrings/influxdata-archive.gpg] https://repos.influxdata.com/debian stable main' \ -| tee /etc/apt/sources.list.d/influxdata.list +| tee /etc/apt/sources.list.d/influxdata.list > /dev/null msg_ok "Added Telegraf Repository" msg_info "Installing Telegraf" -apt-get update -apt-get install telegraf +$STD apt-get update +$STD apt-get install telegraf msg_ok "Installed Telegraf" motd_ssh