mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Hint message when .lyx dir can not be created.
Useful for scripts running without standard homedir environments, cf https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816173
This commit is contained in:
parent
5be2e3c734
commit
a222a2eab6
@ -1103,7 +1103,7 @@ bool LyX::queryUserLyXDir(bool explicit_userdir)
|
|||||||
|
|
||||||
if (!sup.createDirectory(0755)) {
|
if (!sup.createDirectory(0755)) {
|
||||||
// Failed, so let's exit.
|
// Failed, so let's exit.
|
||||||
lyxerr << to_utf8(_("Failed to create directory. Exiting."))
|
lyxerr << to_utf8(_("Failed to create directory. Perhaps wrong -userdir option?\nExiting."))
|
||||||
<< endl;
|
<< endl;
|
||||||
earlyExit(EXIT_FAILURE);
|
earlyExit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user