summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file_io/unix/filepath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file_io/unix/filepath.c b/file_io/unix/filepath.c
index b3dd2cac9..4c1ca7745 100644
--- a/file_io/unix/filepath.c
+++ b/file_io/unix/filepath.c
@@ -135,10 +135,10 @@ APR_DECLARE(apr_status_t) apr_filepath_merge(char **newpath,
*/
char *getpath;
rv = apr_filepath_get(&getpath, flags, p);
- rootpath = getpath;
if (rv != APR_SUCCESS)
return errno;
+ rootpath = getpath;
/* XXX: Any kernel subject to goofy, uncanonical results
* must run the rootpath against the user's given flags.
* Simplest would be a recursive call to apr_filepath_merge