summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2022-11-28 21:37:25 +0200
committerGitHub <noreply@github.com>2022-11-28 21:37:25 +0200
commit2033fb1117f20333d5cf0566381b0e4b7aadf600 (patch)
tree2d0f3d141ef7d8190a8482cd48885e96e233716a /packaging
parent0c6181523125a4d73113c8664ed07b7dd39dd4c3 (diff)
fix(updater): don't produce any output if static update completed successfully (#14058)
Fixes https://github.com/netdata/netdata/issues/12824
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/installer/netdata-updater.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh
index 4a52b035aa..d018d67d26 100755
--- a/packaging/installer/netdata-updater.sh
+++ b/packaging/installer/netdata-updater.sh
@@ -663,7 +663,7 @@ update_static() {
# Do not pass any options other than the accept, for now
# shellcheck disable=SC2086
- if sh "${ndtmpdir}/netdata-${sysarch}-latest.gz.run" --accept -- ${REINSTALL_OPTIONS}; then
+ if sh "${ndtmpdir}/netdata-${sysarch}-latest.gz.run" --accept -- ${REINSTALL_OPTIONS} >&3 2>&3; then
rm -r "${ndtmpdir}"
else
info "NOTE: did not remove: ${ndtmpdir}"