Allow a little more flexibility - if getpwuid fails, just use the return from getuid to define the session directory
cmr=v1.7.5:reviewer=jsquyres This commit was SVN r30388.
Этот коммит содержится в:
родитель
22782f6c2a
Коммит
a01470190d
@ -147,9 +147,7 @@ orte_session_dir_get_name(char **fulldirpath,
|
||||
if (NULL != pwdent) {
|
||||
user = strdup(pwdent->pw_name);
|
||||
} else {
|
||||
orte_show_help("help-orte-runtime.txt",
|
||||
"orte:session:dir:nopwname", true);
|
||||
return ORTE_ERR_OUT_OF_RESOURCE;
|
||||
asprintf(&user, "%d", uid);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user