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: emma
GPG Key ID: 6D661C738815E7DD
1 changed files with 1 additions and 1 deletions

View File

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