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:
Pavel Sanda 2020-12-08 09:53:38 +01:00
parent 5be2e3c734
commit a222a2eab6

View File

@ -1103,7 +1103,7 @@ bool LyX::queryUserLyXDir(bool explicit_userdir)
if (!sup.createDirectory(0755)) {
// 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;
earlyExit(EXIT_FAILURE);
}