check >= to close fd

SVN revision: 56855
This commit is contained in:
Sebastian Dransfeld 2011-02-09 17:09:49 +00:00
parent 8c9083f65d
commit 68c11a1c76
1 changed files with 1 additions and 1 deletions

View File

@ -993,7 +993,7 @@ on_error_efreet:
efreet_shutdown();
on_error:
if (lockfd > 0) close(lockfd);
if (lockfd >= 0) close(lockfd);
while ((path = eina_array_pop(strs)))
eina_stringshare_del(path);