mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
BB_EXECLP should call execlp, not execvp
This commit is contained in:
parent
e8ce0626d9
commit
9f85de1821
@ -561,7 +561,7 @@ int exists_execable(const char *filename);
|
||||
execlp((find_applet_by_name(prog)) ? CONFIG_BUSYBOX_EXEC_PATH : prog, cmd, __VA_ARGS__)
|
||||
#else
|
||||
#define BB_EXECVP(prog,cmd) execvp(prog,cmd)
|
||||
#define BB_EXECLP(prog,cmd,...) execvp(prog,cmd, __VA_ARGS__)
|
||||
#define BB_EXECLP(prog,cmd,...) execlp(prog,cmd, __VA_ARGS__)
|
||||
#endif
|
||||
|
||||
USE_DESKTOP(long long) int uncompress(int fd_in, int fd_out);
|
||||
|
Loading…
Reference in New Issue
Block a user