diff --git a/src/unix/aix.c b/src/unix/aix.c index 70a9aba7b..faedc288a 100644 --- a/src/unix/aix.c +++ b/src/unix/aix.c @@ -576,6 +576,8 @@ static int uv__setup_ahafs(const char* filename, int *fd) { /* Make the necessary subdirectories for the monitor file */ rc = uv__make_subdirs_p(filename); + if (rc == UV_ENAMETOOLONG) + return rc; if (rc == -1 && errno != EEXIST) return rc;