comment
This commit is contained in:
parent
62252daffe
commit
58a6d2bd70
@ -1405,7 +1405,9 @@ string RclConfig::getPidfile() const
|
||||
if (nullptr == p) {
|
||||
// Problem is, we may have been launched outside the desktop, maybe by cron. Basing
|
||||
// everything on XDG_RUNTIME_DIR was a mistake, sometimes resulting in different pidfiles
|
||||
// being used by recollindex instances. So explicitely test for /run/user/$uid
|
||||
// being used by recollindex instances. So explicitely test for /run/user/$uid, still
|
||||
// leaving open the remote possibility that XDG_RUNTIME_DIR would be set to something
|
||||
// else...
|
||||
rundir = path_cat("/run/user", lltodecstr(getuid()));
|
||||
if (path_isdir(rundir)) {
|
||||
p = rundir.c_str();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user