tail(1p): fixed file reading
This commit is contained in:
parent
7936ce26a0
commit
94537bc948
@ -121,7 +121,7 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
FILE *file;
|
||||
|
||||
if (optind = argc) {
|
||||
if (optind == argc) {
|
||||
fn(stdin, num);
|
||||
|
||||
if (f) { tailf(stdin); }
|
||||
|
Loading…
Reference in New Issue
Block a user