diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-11-22 22:14:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 22:14:00 +0200 |
commit | ae733dd494a1f497f5d6bdd0dd1e237f71e91cd9 (patch) | |
tree | 81dfe048aad15904ba5b7b1751abaad20c4c6193 /health/notifications | |
parent | 2a58bd96ff03e6e1a8975db919e3de5b3b2b2e5e (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-x | health/notifications/alarm-notify.sh.in | 2 |
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 # ----------------------------------------------------------------------------- |