summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/process.c b/process.c
index 294f1be..dcbb71d 100644
--- a/process.c
+++ b/process.c
@@ -3367,7 +3367,7 @@ has_privilege(void)
if (ret == -1)
rb_sys_fail("getresgid(2)");
if (egid != sgid)
- return 0;
+ return 1;
}
#else
{