aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index c1f59b6c..83a0ef4d 100644
--- a/config.c
+++ b/config.c
@@ -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;