fix: use SYSCONFDIR in error message

This commit is contained in:
Michael Stapelberg 2019-01-27 22:14:16 +01:00
parent 3d5c908af5
commit 0f4fbf70af

View File

@ -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;
}