diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-07-21 22:51:22 +0200 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2024-07-21 22:51:22 +0200 |
commit | 6221248b13f19b6b29700622451fdf3b7235ffc0 (patch) | |
tree | 7187243ddad2449026b6e8cd236f7009f403f758 | |
parent | 53de57ec2ee0af70ba59ec5fa4d30fc8a9102e9b (diff) |
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
-rw-r--r-- | src/openrc/rc-logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openrc/rc-logger.c b/src/openrc/rc-logger.c index dad141ea..30d1269a 100644 --- a/src/openrc/rc-logger.c +++ b/src/openrc/rc-logger.c @@ -253,7 +253,7 @@ rc_logger_open(const char *level) if ((env = getenv("XDG_STATE_HOME"))) xasprintf(&logfile, "%s/openrc.log", env); else if ((env = getenv("HOME"))) - xasprintf(&logfile, "%s/openrc.log", env); + xasprintf(&logfile, "%s/.local/state/openrc.log", env); else eerrorx("XDG_STATE_HOME and HOME unset."); } else { |