From a7c9e79190759d76a5396441fe6ac502d7b38835 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 17 Jul 2008 19:49:51 +0000 Subject: Revert that last stupid setuid detection fix. --- common/exechelp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/exechelp.c') diff --git a/common/exechelp.c b/common/exechelp.c index 90071e775..dcbbe90b0 100644 --- a/common/exechelp.c +++ b/common/exechelp.c @@ -826,7 +826,7 @@ gnupg_spawn_process_detached (const char *pgmname, const char *argv[], pid_t pid; int i; - if (getuid() && getuid() != geteuid()) + if (getuid() != geteuid()) return gpg_error (GPG_ERR_BUG); if (access (pgmname, X_OK)) -- cgit