1
0
forked from bonsai/harakit

tail(1p): fixed file reading

This commit is contained in:
Emma Tebibyte 2023-08-30 19:08:11 -06:00
parent 7936ce26a0
commit 94537bc948
Signed by untrusted user: emma
GPG Key ID: 6D661C738815E7DD

View File

@ -121,7 +121,7 @@ int main(int argc, char *argv[]) {
FILE *file; FILE *file;
if (optind = argc) { if (optind == argc) {
fn(stdin, num); fn(stdin, num);
if (f) { tailf(stdin); } if (f) { tailf(stdin); }