From 58a6d2bd70604cc0f4624dd7f15401f1a0e3c81d Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Fri, 12 Nov 2021 10:15:59 +0100 Subject: [PATCH] comment --- src/common/rclconfig.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/rclconfig.cpp b/src/common/rclconfig.cpp index 69c613ae..7d540426 100644 --- a/src/common/rclconfig.cpp +++ b/src/common/rclconfig.cpp @@ -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();