diff --git a/vm/os-unix.c b/vm/os-unix.c index 29d53487a3..74320288aa 100755 --- a/vm/os-unix.c +++ b/vm/os-unix.c @@ -44,7 +44,7 @@ void ffi_dlclose(F_DLL *dll) DEFINE_PRIMITIVE(existsp) { struct stat sb; - box_boolean(stat(unbox_char_string(),&sb) < 0); + box_boolean(stat(unbox_char_string(),&sb) >= 0); } /* Allocates memory */