diff options
Diffstat (limited to 'include/tests_shells')
-rw-r--r-- | include/tests_shells | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/tests_shells b/include/tests_shells index 8e97ae86..37d152b4 100644 --- a/include/tests_shells +++ b/include/tests_shells @@ -107,14 +107,12 @@ IDLE_TIMEOUT_READONLY="" LogText "Test: Search for session timeout tools or settings in shell" - IsRunning timeoutd - if [ ${RUNNING} -eq 1 ]; then + if IsRunning "timeoutd"; then IDLE_TIMEOUT=1 LogText "Result: found timeoutd process to kill idle sesions" IDLE_TIMEOUT_METHOD="timeout-daemon" fi - IsRunning autolog - if [ ${RUNNING} -eq 1 ]; then + if IsRunning "autolog"; then IDLE_TIMEOUT=1 LogText "Result: found autolog process to kill idle sesions" Report="session_timeout_method[]=autolog" |