mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04:00
config: demote “no configuration found, using defaults” to a mere warning
And don’t notify the user in the terminal window, only log it on stderr.
This commit is contained in:
parent
41a223e1bd
commit
955ecbd19a
2 changed files with 4 additions and 1 deletions
|
|
@ -108,6 +108,9 @@
|
||||||
* Writing a sixel on top of another sixel no longer erases the first
|
* Writing a sixel on top of another sixel no longer erases the first
|
||||||
sixel, but the two are instead blended
|
sixel, but the two are instead blended
|
||||||
(https://codeberg.org/dnkl/foot/issues/562).
|
(https://codeberg.org/dnkl/foot/issues/562).
|
||||||
|
* Running foot without a configuration file is no longer an error; it
|
||||||
|
has been demoted to a warning, and is no longer presented as a
|
||||||
|
notification in the terminal window, but only logged on stderr.
|
||||||
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
|
||||||
2
config.c
2
config.c
|
|
@ -2662,7 +2662,7 @@ config_load(struct config *conf, const char *conf_path,
|
||||||
} else {
|
} else {
|
||||||
conf_file = open_config();
|
conf_file = open_config();
|
||||||
if (conf_file.fd < 0) {
|
if (conf_file.fd < 0) {
|
||||||
LOG_AND_NOTIFY_WARN("no configuration found, using defaults");
|
LOG_WARN("no configuration found, using defaults");
|
||||||
ret = !errors_are_fatal;
|
ret = !errors_are_fatal;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue