[monitoring-plugins] Attempt to fix check_users

Sven Nierlein git at monitoring-plugins.org
Fri Apr 30 10:00:13 CEST 2021


    Module: monitoring-plugins
    Branch: feature_github_actions
    Commit: 40e171b7cdb2262398728aa9b84e747a856d9c1f
    Author: Jacob Hansen <jhansen at op5.com>
 Committer: Sven Nierlein <sven at nierlein.de>
      Date: Fri Apr 30 09:38:19 2021 +0200
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=40e171b

Attempt to fix check_users

Signed-off-by: Jacob Hansen <jhansen at op5.com>

---

 .github/prepare_debian.sh | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 4005320..3693acc 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -65,10 +65,12 @@ ssh-keyscan localhost >> ~/.ssh/known_hosts
 touch ~/.ssh/config
 
 # start one login session, required for check_users
-( ssh -n -tt root at localhost "top" < /dev/null >/dev/null 2>&1 & )
-sleep 1
-who
-ssh root at localhost "top -b -n 1"
+#( ssh -n -tt root at localhost "top" < /dev/null >/dev/null 2>&1 & )
+ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
+disown %1
+#sleep 1
+#who
+#ssh root at localhost "top -b -n 1"
 
 # snmpd
 for DIR in /usr/share/snmp/mibs /usr/share/mibs; do



More information about the Commits mailing list