From: Pavel Sanda Date: Tue, 8 Dec 2020 08:53:38 +0000 (+0100) Subject: Hint message when .lyx dir can not be created. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a222a2eab681ff0dc8fa5adfe6c353bf38ab3e0f;p=features.git 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 --- diff --git a/src/LyX.cpp b/src/LyX.cpp index 44361baa0f..a0035fbe80 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -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); }