diff options
Diffstat (limited to 'pseudo_client.c')
-rw-r--r-- | pseudo_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudo_client.c b/pseudo_client.c index 7ac96dd..b53ee25 100644 --- a/pseudo_client.c +++ b/pseudo_client.c @@ -1378,7 +1378,7 @@ pseudo_exec_path(const char *filename, int search_path) { return candidate; } - if (!search_path) { + if (!search_path || !path_segs) { candidate = pseudo_fix_path(pseudo_cwd, filename, 0, pseudo_cwd_len, NULL, 0); /* executable or not, it's the only thing we can try */ pseudo_magic(); |