summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-12-17 09:51:46 -0500
committerGitHub <noreply@github.com>2021-12-17 09:51:46 -0500
commit53cb66c18a0b132ed23776495379c0d974662dd0 (patch)
tree7a74a76c2bdbb82cbe4a9b8697eb45a731e5aea3 /packaging
parent52f743c5a7cdd3b56c36ac4c054bf182c5e193b1 (diff)
Fi handling of agent restart on update. (#11887)
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/installer/netdata-updater.sh3
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"