diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-08-27 19:11:03 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-08-27 19:11:03 +0000 |
| commit | 6f114f639adea4bfba801d08f5e2ee206d10d0e6 (patch) | |
| tree | d4f21412ea835fdbccedd98500edc9bf70b97669 | |
| parent | doc: foot.ini: highlight configuration file paths with bold, not italic/underline (diff) | |
config: close FD if it is *valid*, not when it is *invalid*
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1849,7 +1849,7 @@ out: tll_push_back(conf->fonts, config_font_parse("monospace")); free(conf_file.path); - if (conf_file.fd < 0) + if (conf_file.fd >= 0) close(conf_file.fd); return ret; |
