From: Michael Stapelberg Date: Sun, 27 Jan 2019 21:14:16 +0000 (+0100) Subject: fix: use SYSCONFDIR in error message X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=refs%2Fpull%2F333%2Fhead;p=i3%2Fi3status fix: use SYSCONFDIR in error message --- 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; }