@cryptotaxi247 / netdata-1 / commits / 86b979aaa

fix(updater): return 0 on successful update for native packages when running interactively (#13083)

return 0 on success in udpate_binpkg

Ilya Mashchenko committed Jun 8, 2022 at 14:57 UTC 86b979aaadbe3f2c2358f3dc76d2fcd60b51d5d4
1 file changed +1
packaging/installer/netdata-updater.sh
+1
@@ -781,6 +781,7 @@ update_binpkg() {
781 # shellcheck disable=SC2086
782 env ${env} ${pm_cmd} ${upgrade_cmd} ${pkg_install_opts} netdata >&3 2>&3 || fatal "Failed to update Netdata package." U000F
783 [ -n "${logfile}" ] && rm "${logfile}" && logfile=
784 + return 0
785 }
786
787 # Simple function to encapsulate original updater behavior.