diff options
Diffstat (limited to 'src/unix')
-rw-r--r-- | src/unix/realpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/realpath.c b/src/unix/realpath.c index f382c2b73..15601bd22 100644 --- a/src/unix/realpath.c +++ b/src/unix/realpath.c @@ -22,7 +22,7 @@ char *p_realpath(const char *pathname, char *resolved) /* Figure out if the file exists */ if (!access(ret, F_OK)) - ret; + return ret; return NULL; } |