Module: check_mk
Branch: master
Commit: 7dc4a0daa98d4270c64e92007e479387c463a232
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7dc4a0daa98d42…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Thu Oct 25 11:46:38 2018 +0200
check_mk_agent.linux: Avoid blocking pager for systemctl call
Change-Id: Icffad1e1e62b7a57ff35e1521e72e417556c9ef9
---
agents/check_mk_agent.linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index d8d92f8..8b9ffb7 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -185,7 +185,7 @@ function sections_systemd()
{
if type systemctl >/dev/null 2>&1 ; then
echo '<<<systemd_units>>>'
- systemctl --all
+ systemctl --all --no-pager
fi
}