apache: fix missing newline in fastScriptAlias
[hcoop/domtool2.git] / src / plugins / trustedPath.sml
index 092a5b5..99b449b 100644 (file)
@@ -20,8 +20,6 @@
 
 structure TrustedPath :> TRUSTED_PATH = struct
 
-fun query uname = List.exists (fn x => x = uname)
-                 (Posix.SysDB.Group.members (Posix.SysDB.getgrnam "only-tpe"))
-                 handle OS.SysErr _ => false
+fun query uname = Slave.inGroup {group = "only-tpe", user = uname}
 
 end