From 729d326691b963f5ddcdb30e611812363f25d216 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 30 Aug 2024 13:08:59 +0700 Subject: [PATCH] ENH --- sudokill.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudokill.js b/sudokill.js index 73ebc67..140bea9 100755 --- a/sudokill.js +++ b/sudokill.js @@ -61,7 +61,7 @@ for (const item of whoOutput) { } // scan for any processes not in ssh sessions or longer than 3 hours -let candidates = lists.filter(x => x.etimes > 10800 || (x.command[0] != ' ' && !ignoreUsers[x.user] && x.etimes > 60)); +let candidates = lists.filter(x =>(x.command[0] != ' ' && !ignoreUsers[x.user] && x.etimes > 10800)); if (opts.test) { console.table(candidates);