From a222a2eab681ff0dc8fa5adfe6c353bf38ab3e0f Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Tue, 8 Dec 2020 09:53:38 +0100 Subject: [PATCH] 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 --- src/LyX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5