mirror of
https://git.busybox.net/busybox.git
synced 2024-11-28 16:13:40 +08:00
Path count was out by one, fixed it
This commit is contained in:
parent
63dde9d4ce
commit
38c8551cf2
@ -28,7 +28,7 @@ extern int which_main(int argc, char **argv)
|
||||
{
|
||||
char *path_list, *path_n;
|
||||
struct stat filestat;
|
||||
int i, count=0;
|
||||
int i, count=1;
|
||||
|
||||
if (argc <= 1 || **(argv + 1) == '-')
|
||||
usage(which_usage);
|
||||
|
Loading…
Reference in New Issue
Block a user