summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index 61388e522..cc34e8d74 100644
--- a/winsup/cygwin/exceptions.cc
+++ b/winsup/cygwin/exceptions.cc
@@ -308,7 +308,7 @@ inside_kernel (CONTEXT *cx)
else if (h == user_data->hmodule)
res = true;
else if (!GetModuleFileName (h, checkdir, windows_system_directory_length + 2))
- res = false;
+ res = true;
else
res = !strncasematch (windows_system_directory, checkdir,
windows_system_directory_length);