diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2021-12-17 09:51:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 09:51:46 -0500 |
commit | 53cb66c18a0b132ed23776495379c0d974662dd0 (patch) | |
tree | 7a74a76c2bdbb82cbe4a9b8697eb45a731e5aea3 | |
parent | 52f743c5a7cdd3b56c36ac4c054bf182c5e193b1 (diff) |
Fi handling of agent restart on update. (#11887)
-rwxr-xr-x | packaging/installer/netdata-updater.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packaging/installer/netdata-updater.sh b/packaging/installer/netdata-updater.sh index 713af4775e..a115a9e2c8 100755 --- a/packaging/installer/netdata-updater.sh +++ b/packaging/installer/netdata-updater.sh @@ -341,7 +341,8 @@ update() { possible_pids=$(pidof netdata) do_not_start= if [ -n "${possible_pids}" ]; then - kill -USR1 "${possible_pids}" + # shellcheck disable=SC2086 + kill -USR1 ${possible_pids} else # netdata is currently not running, so do not start it after updating do_not_start="--dont-start-it" |