From 0f4fbf70afc607e2dcb14ef8292911042490d1dc Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 27 Jan 2019 22:14:16 +0100 Subject: fix: use SYSCONFDIR in error message --- i3status.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/i3status.c b/i3status.c index acebb65..90660bb 100644 --- a/i3status.c +++ b/i3status.c @@ -284,8 +284,7 @@ static char *get_config_path(void) { return sstrdup(config_path); die("Unable to find the configuration file (looked at " - "~/.i3status.conf, $XDG_CONFIG_HOME/i3status/config, " - "/etc/i3status.conf and $XDG_CONFIG_DIRS/i3status/config)"); + "~/.i3status.conf, $XDG_CONFIG_HOME/i3status/config, " SYSCONFDIR "/i3status.conf and $XDG_CONFIG_DIRS/i3status/config)"); return NULL; } -- cgit v1.2.3