mirror of https://github.com/mirror/busybox.git
tail: fix tail +N syntax not working. Closes bug 221.
parent
bfc0fae952
commit
3603cd2808
|
@ -104,7 +104,7 @@ int tail_main(int argc, char **argv)
|
|||
if (argv[1] && (argv[1][0] == '+' || argv[1][0] == '-')
|
||||
&& isdigit(argv[1][1])
|
||||
) {
|
||||
count = eat_num(&argv[1][1]);
|
||||
count = eat_num(argv[1]);
|
||||
argv++;
|
||||
argc--;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue