diff options
-rw-r--r-- | desktop/source/app/app.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 39474b850d24..819bcde64954 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -1447,9 +1447,10 @@ int Desktop::Main() #if HAVE_FEATURE_DESKTOP // check user installation directory for lockfile so we can be sure // there is no other instance using our data files from a remote host - m_xLockfile.reset(new Lockfile); /* tdf#109085 temporary don't show warning about another instance running + m_xLockfile.reset(new Lockfile); + if ( !rCmdLineArgs.IsHeadless() && !rCmdLineArgs.IsInvisible() && !rCmdLineArgs.IsNoLockcheck() && !m_xLockfile->check( Lockfile_execWarning )) { |