diff --git a/tools/addon/pihole-exporter.sh b/tools/addon/pihole-exporter.sh index 6724dc0d0..2a595355e 100644 --- a/tools/addon/pihole-exporter.sh +++ b/tools/addon/pihole-exporter.sh @@ -58,7 +58,7 @@ if [[ -f "$INSTALL_PATH" ]]; then setup_go msg_info "Updating pihole-exporter" cd /opt/pihole-exporter/ - /usr/local/bin/go build -o ./pihole-exporter + $STD /usr/local/bin/go build -o ./pihole-exporter msg_ok "Updated Successfully!" fi exit 0 @@ -93,7 +93,7 @@ fetch_and_deploy_gh_release "pihole-exporter" "eko/pihole-exporter" "tarball" "l setup_go msg_info "Installing pihole-exporter on ${OS}" cd /opt/pihole-exporter/ -/usr/local/bin/go build -o ./pihole-exporter +$STD /usr/local/bin/go build -o ./pihole-exporter msg_ok "Installed pihole-exporter" msg_info "Creating configuration" diff --git a/tools/addon/qbittorrent-exporter.sh b/tools/addon/qbittorrent-exporter.sh index 653a906f8..03e459803 100644 --- a/tools/addon/qbittorrent-exporter.sh +++ b/tools/addon/qbittorrent-exporter.sh @@ -58,7 +58,7 @@ if [[ -f "$INSTALL_PATH" ]]; then setup_go msg_info "Updating qbittorrent-exporter" cd /opt/qbittorrent-exporter/src - /usr/local/bin/go build -o ./qbittorrent-exporter + $STD /usr/local/bin/go build -o ./qbittorrent-exporter msg_ok "Updated Successfully!" fi exit 0 @@ -90,7 +90,7 @@ fetch_and_deploy_gh_release "qbittorrent-exporter" "martabal/qbittorrent-exporte setup_go msg_info "Installing qbittorrent-exporter on ${OS}" cd /opt/qbittorrent-exporter/src -/usr/local/bin/go build -o ./qbittorrent-exporter +$STD /usr/local/bin/go build -o ./qbittorrent-exporter msg_ok "Installed qbittorrent-exporter" msg_info "Creating configuration"