summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/path-lookup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/path-lookup.c b/src/shared/path-lookup.c
index 13ab5310e3..42a5b62d5d 100644
--- a/src/shared/path-lookup.c
+++ b/src/shared/path-lookup.c
@@ -260,7 +260,8 @@ static int acquire_generator_dirs(
prefix = tempdir;
else if (scope == UNIT_FILE_SYSTEM)
prefix = "/run/systemd";
- else if (scope == UNIT_FILE_USER) {
+ else {
+ /* UNIT_FILE_USER */
const char *e;
e = getenv("XDG_RUNTIME_DIR");