non-desktop: Don't even attempt to create a lockfile.
Change-Id: I68a4cf8f2e302b49e3d2719ee2bad3f823e8a036
This commit is contained in:
parent
6b7e0c7a9f
commit
048d27bae8
@ -1422,12 +1422,12 @@ int Desktop::Main()
|
||||
|
||||
SetSplashScreenProgress(25);
|
||||
|
||||
#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
|
||||
SAL_INFO( "desktop.app", "desktop (lo119109) Desktop::Main -> Lockfile" );
|
||||
m_xLockfile.reset(new Lockfile);
|
||||
|
||||
#if HAVE_FEATURE_DESKTOP
|
||||
if ( !rCmdLineArgs.IsHeadless() && !rCmdLineArgs.IsInvisible() &&
|
||||
!rCmdLineArgs.IsNoLockcheck() && !m_xLockfile->check( Lockfile_execWarning ))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user