diff options
Diffstat (limited to 'src/port/exec.c')
-rw-r--r-- | src/port/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/port/exec.c b/src/port/exec.c index 24051401289..6027917b576 100644 --- a/src/port/exec.c +++ b/src/port/exec.c @@ -168,7 +168,7 @@ find_my_exec(const char *argv0, char *retpath) else startp = endp + 1; - endp = first_path_separator(startp); + endp = first_path_var_separator(startp); if (!endp) endp = startp + strlen(startp); /* point to end */ |