Skip to content

Commit

Permalink
ENH
Browse files Browse the repository at this point in the history
  • Loading branch information
willnode committed Aug 30, 2024
1 parent 187ce9f commit 729d326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sudokill.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 729d326

Please sign in to comment.