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 f679108..2649a6c 100644 --- a/libbb/execable.c +++ b/libbb/execable.c @@ -65,7 +65,7 @@ int exists_execable(const char *filename) */ int bb_execvp(const char *file, char *const argv[]) { - return execvp(find_applet_by_name(file) ? bb_busybox_exec_path : file, + return execvp(find_applet_by_name(file) >= 0 ? bb_busybox_exec_path : file, argv); } #endif |