diff options
Diffstat (limited to 'src/shared/path-util.c')
-rw-r--r-- | src/shared/path-util.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/path-util.c b/src/shared/path-util.c index e35d7f8d67..373dd7a35c 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -464,8 +464,7 @@ int find_binary(const char *name, char **filename) { continue; if (filename) { - path_kill_slashes(p); - *filename = p; + *filename = path_kill_slashes(p); p = NULL; } |