aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/librc/librc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc/librc.c b/src/librc/librc.c
index 58219b40..53625759 100644
--- a/src/librc/librc.c
+++ b/src/librc/librc.c
@@ -1477,7 +1477,7 @@ rc_svcdir(void)
if ((env = getenv("XDG_RUNTIME_DIR"))) {
xasprintf(&path, "%s/%s", env, RC_USER_CONF_FOLDER);
} else {
- xasprintf(&path, "/tmp/%s/%d/", RC_USER_CONF_FOLDER, getuid());
+ eerrorx("XDG_RUNTIME_DIR not set in user mode");
}
} else {
#endif