aboutsummaryrefslogtreecommitdiffstats
path: root/g10/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/exec.c')
-rw-r--r--g10/exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/exec.c b/g10/exec.c
index 40561e871..9ecd2ab64 100644
--- a/g10/exec.c
+++ b/g10/exec.c
@@ -318,8 +318,8 @@ int exec_write(struct exec_info **info,const char *program,
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
/* There should be no way to get to this spot while still carrying
- setuid privs. Just in case, bomb out if we are (and are not root). */
- if (getuid () && getuid () != geteuid ())
+ setuid privs. Just in case, bomb out if we are. */
+ if ( getuid () != geteuid ())
BUG ();
#endif