From e024d57def62684a4e0cb846a6753b9cb4bd4f67 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Wed, 25 Apr 2012 10:33:46 +0200 Subject: [PATCH] Fix watch_client filtering (cherry picked from commit 590ba0e4eb25c126d59d4df91646f10ec2a5ec6a) --- src/acct/watch_client.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acct/watch_client.rb b/src/acct/watch_client.rb index 7a63251a48..c3da4289bf 100644 --- a/src/acct/watch_client.rb +++ b/src/acct/watch_client.rb @@ -154,7 +154,7 @@ module OneWatchClient if filter[:uid] filter[:uid]==0 ? (hosts = pool) : (return nil) elsif filter[:gid] - filter[:uid]==0 ? (hosts = pool) : (return nil) + filter[:gid]==0 ? (hosts = pool) : (return nil) else hosts = pool end