tail: fix tail +N syntax not working. Closes bug 221.

This commit is contained in:
Denis Vlasenko 2009-03-27 02:36:02 +00:00
parent bfc0fae952
commit 3603cd2808
1 changed files with 1 additions and 1 deletions

View File

@ -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--;
}