pgterminate/terminator
Nicolas Payart 0bb792a0ea Fix exclude-users-regex option
When a session User matches the exclude-users-regex pattern, it is
probably not found in exclude-users list.

The current OR condition makes the user filtered.

We expect a AND condition here (user not in exclude-users AND not in
exclude-users-regex)

Signed-off-by: Nicolas Payart <npayart@gmail.com>
2021-10-19 09:11:31 +02:00
..
terminator.go Fix exclude-users-regex option 2021-10-19 09:11:31 +02:00