summaryrefslogtreecommitdiff
path: root/lib/idpriv-drop.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/idpriv-drop.c')
-rw-r--r--lib/idpriv-drop.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/idpriv-drop.c b/lib/idpriv-drop.c
index e1fa02f8ba..9ebf123c63 100644
--- a/lib/idpriv-drop.c
+++ b/lib/idpriv-drop.c
@@ -88,9 +88,9 @@ idpriv_drop (void)
uid_t effective;
uid_t saved;
if (getresuid (&real, &effective, &saved) < 0
- || real != uid
- || effective != uid
- || saved != uid)
+ || real != uid
+ || effective != uid
+ || saved != uid)
abort ();
}
#else
@@ -109,9 +109,9 @@ idpriv_drop (void)
gid_t effective;
gid_t saved;
if (getresgid (&real, &effective, &saved) < 0
- || real != gid
- || effective != gid
- || saved != gid)
+ || real != gid
+ || effective != gid
+ || saved != gid)
abort ();
}
#else