From: Todd C. Miller Date: Thu, 7 Oct 2004 20:23:06 +0000 (+0000) Subject: remove call to issetugid() X-Git-Tag: SUDO_1_7_0~882 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55e1b220e0d2d2384931086e2b2e376c547b3553;p=sudo remove call to issetugid() --- diff --git a/glob.c b/glob.c index fec9b9c61..09cecc0ad 100644 --- a/glob.c +++ b/glob.c @@ -384,7 +384,7 @@ globtilde(pattern, patbuf, patbuf_len, pglob) * handle a plain ~ or ~/ by expanding $HOME * first and then trying the password file */ - if (issetugid() != 0 || (h = getenv("HOME")) == NULL) { + if ((h = getenv("HOME")) == NULL) { if ((pwd = getpwuid(getuid())) == NULL) return pattern; else