src/platform_posix.c
changeset 1290 a47c773cc5ee
parent 1266 135cb99a06a0
child 1322 5476917b8ddf
--- a/src/platform_posix.c	Thu Jun 07 10:42:19 2012 -0400
+++ b/src/platform_posix.c	Wed Jun 20 20:16:11 2012 -0400
@@ -349,7 +349,7 @@
 
     if (lstat(filename, &statbuf) == -1)
     {
-        *exists = (errno == ENOENT);
+        *exists = (errno != ENOENT);
         BAIL_MACRO(errcodeFromErrno(), 0);
     } /* if */