summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2019-01-27 22:22:34 +0100
committerGitHub <noreply@github.com>2019-01-27 22:22:34 +0100
commite36966d49cb2db0be24baf845aedcde109841ff8 (patch)
treee6b050af09cbc882079093998309c8d2462493e5
parent3d5c908af51e3aa03ca79ff66b8882b57ccda610 (diff)
parent0f4fbf70afc607e2dcb14ef8292911042490d1dc (diff)
Merge pull request #333 from stapelberg/sysconfdir
fix: use SYSCONFDIR in error message
-rw-r--r--i3status.c3
1 files changed, 1 insertions, 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;
}