mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Improved error output if password file cannot be opened
SVN revision: 1730
This commit is contained in:
parent
a4c991c16f
commit
6d6bb5ef72
@ -21223,6 +21223,7 @@ PMXML_NODE load_password_file(LOGBOOK * lbs, char *error, int error_size)
|
|||||||
strcat(str, ": ");
|
strcat(str, ": ");
|
||||||
strlcat(str, strerror(errno), sizeof(str));
|
strlcat(str, strerror(errno), sizeof(str));
|
||||||
show_error(str);
|
show_error(str);
|
||||||
|
eprintf(str);
|
||||||
strlcpy(error, str, error_size);
|
strlcpy(error, str, error_size);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user