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;
|
const char *p = NULL;
|
||||||
|
|
||||||
if (issuid())
|
if (!issuid())
|
||||||
p = getenv("TEMP");
|
p = getenv("TEMP");
|
||||||
|
|
||||||
if (p)
|
if (p)
|
||||||
*ret = strdup(p);
|
*ret = strdup(p);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user