summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_fs.c b/src/nxt_fs.c
index a02c51af..3c33837c 100644
--- a/src/nxt_fs.c
+++ b/src/nxt_fs.c
@@ -18,7 +18,7 @@ nxt_fs_mkdir_p(const u_char *dir, mode_t mode)
dirlen = nxt_strlen(dir);
- nxt_assert(dirlen < PATH_MAX && dirlen > 1 && dir[0] == '/');
+ nxt_assert(dirlen < PATH_MAX && dirlen > 1);
dst = path;
start = (char *) dir;