diff options
Diffstat (limited to 'libbb/execable.c')
-rw-r--r-- | libbb/execable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/execable.c b/libbb/execable.c index f679108be..2649a6cfe 100644 --- a/libbb/execable.c +++ b/libbb/execable.c | |||
@@ -65,7 +65,7 @@ int exists_execable(const char *filename) | |||
65 | */ | 65 | */ |
66 | int bb_execvp(const char *file, char *const argv[]) | 66 | int bb_execvp(const char *file, char *const argv[]) |
67 | { | 67 | { |
68 | return execvp(find_applet_by_name(file) ? bb_busybox_exec_path : file, | 68 | return execvp(find_applet_by_name(file) >= 0 ? bb_busybox_exec_path : file, |
69 | argv); | 69 | argv); |
70 | } | 70 | } |
71 | #endif | 71 | #endif |