summaryrefslogtreecommitdiffstats
path: root/health/notifications
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-11-22 22:14:00 +0200
committerGitHub <noreply@github.com>2023-11-22 22:14:00 +0200
commitae733dd494a1f497f5d6bdd0dd1e237f71e91cd9 (patch)
tree81dfe048aad15904ba5b7b1751abaad20c4c6193 /health/notifications
parent2a58bd96ff03e6e1a8975db919e3de5b3b2b2e5e (diff)
add sbindir_POST to PATH of bash scripts that use `systemd-cat-native` (#16456)
* use sbindir_POST in charts.d and alarm-notify * convert cgroup-name.sh to in * convert cgroup-network-helper.sh to in * simplify cgroup-network-helper
Diffstat (limited to 'health/notifications')
-rwxr-xr-xhealth/notifications/alarm-notify.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/health/notifications/alarm-notify.sh.in b/health/notifications/alarm-notify.sh.in
index b1977b800b..2a62fe2e2a 100755
--- a/health/notifications/alarm-notify.sh.in
+++ b/health/notifications/alarm-notify.sh.in
@@ -76,7 +76,7 @@ if { [ "${1}" = "test" ] || [ "${2}" = "test" ]; } && [ "${#}" -le 2 ]; then
exit $test_res
fi
-export PATH="${PATH}:/sbin:/usr/sbin:/usr/local/sbin"
+export PATH="${PATH}:/sbin:/usr/sbin:/usr/local/sbin:@sbindir_POST@"
export LC_ALL=C
# -----------------------------------------------------------------------------