mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Don't complain about an early end-of-file in the -r case rather than
the opposite. Does this pointy hat look good on me?
This commit is contained in:
parent
263067951a
commit
4364d4c485
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ getline(char *buf, size_t size)
|
|||
{
|
||||
if (fgets(buf, size, infp) != NULL)
|
||||
return (2);
|
||||
if (!rflag)
|
||||
if (rflag)
|
||||
return (0);
|
||||
warnx("%s: %s: short file", infile, outfile);
|
||||
return (1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue