diff --git a/dbutil.c b/dbutil.c index 830e8d2..e5c5a31 100644 --- a/dbutil.c +++ b/dbutil.c @@ -506,7 +506,7 @@ out: void m_close(int fd) { int val; - if (fd == -1) { + if (fd < 0) { return; }