print errors to, well.. stderr not stdout
This commit is contained in:
parent
f534250e7a
commit
3543f04361
|
@ -53,7 +53,7 @@ void conf_init(void) {
|
|||
// attempt to read config file to cfg
|
||||
if (!config_read_file(&cfg, cfgfile)) {
|
||||
// invalid configuration, but let's try to read it anyway
|
||||
fprintf(stdout, "spmenu: Invalid configuration.\n");
|
||||
fprintf(stderr, "spmenu: Invalid configuration.\n");
|
||||
}
|
||||
|
||||
// load options spmenu.window
|
||||
|
|
|
@ -49,7 +49,7 @@ void theme_load(void) {
|
|||
|
||||
// attempt to read theme
|
||||
if (!config_read_file(&cfg, theme)) {
|
||||
fprintf(stdout, "spmenu: Invalid theme.\n"); // invalid configuration, but let's try to read it anyway
|
||||
fprintf(stderr, "spmenu: Invalid theme.\n"); // invalid configuration, but let's try to read it anyway
|
||||
}
|
||||
|
||||
// load options theme.window
|
||||
|
|
Loading…
Reference in a new issue