diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-06-08 14:57:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 07:57:02 -0400 |
commit | 86b979aaadbe3f2c2358f3dc76d2fcd60b51d5d4 (patch) | |
tree | 7e31b4115e46364a169bb8f1256ab8ef3c804266 | |
parent | a8b45e636e127607b0c1b70397056e58ef1ae631 (diff) |
fix(updater): return 0 on successful update for native packages when running interactively (#13083)
return 0 on success in udpate_binpkg
-rwxr-xr-x | packaging/installer/netdata-updater.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index f33527d9f2..e4cb29a45e 100755 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -781,6 +781,7 @@ update_binpkg() { # shellcheck disable=SC2086 env ${env} ${pm_cmd} ${upgrade_cmd} ${pkg_install_opts} netdata >&3 2>&3 || fatal "Failed to update Netdata package." U000F [ -n "${logfile}" ] && rm "${logfile}" && logfile= + return 0 } # Simple function to encapsulate original updater behavior. |