Make sure the temp path is a directory.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24914 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-05-23 14:22:59 +00:00
parent 0d71b51796
commit 574c3ea073

View File

@ -78,7 +78,7 @@ FileNameList lyxSockets(string const & dir, string const & pid)
{ {
FileNameList dirlist; FileNameList dirlist;
FileName dirpath(dir); FileName dirpath(dir + "/");
if (!dirpath.exists() || !dirpath.isDirectory()) { if (!dirpath.exists() || !dirpath.isDirectory()) {
lyxerr << dir << " does not exist or is not a directory." lyxerr << dir << " does not exist or is not a directory."