honor env when not issuid
This commit is contained in:
@@ -279,8 +279,9 @@ _expand_temp_folder(krb5_context context, PTYPE param, const char *postfix, char
|
||||
{
|
||||
const char *p = NULL;
|
||||
|
||||
if (issuid())
|
||||
if (!issuid())
|
||||
p = getenv("TEMP");
|
||||
|
||||
if (p)
|
||||
*ret = strdup(p);
|
||||
else
|
||||
|
Reference in New Issue
Block a user