diff options
Diffstat (limited to 'src/port/path.c')
-rw-r--r-- | src/port/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/path.c b/src/port/path.c index e01c7b8c0e5..df2c4e7be6d 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -368,7 +368,7 @@ path_contains_parent_reference(const char *path) bool path_is_relative_and_below_cwd(const char *path) { - if (!is_absolute_path(path)) + if (is_absolute_path(path)) return false; /* don't allow anything above the cwd */ else if (path_contains_parent_reference(path)) |