files: don't close a file descriptor when opening failed [coverity scan]
Also, don't depend on statting the relative path, because if that would fail, we would try to open a NULL pointer.
Showing
+12 -12
Please register or sign in to comment