1
1

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.
Этот коммит содержится в:
Ralph Castain 2014-01-23 05:00:05 +00:00
родитель 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);
}
/*