1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-12 14:29:28 +00: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:
Tony Finch 2003-03-04 21:22:05 +00:00
parent 263067951a
commit 4364d4c485
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111884

View File

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