for ITS#5317: initialize exit code for -f/dev/null

This commit is contained in:
Hallvard Furuseth 2008-01-09 20:24:29 +00:00
parent db6001ddeb
commit f150ef3edd

View file

@ -981,6 +981,7 @@ getNextPage:
attrs, attrsonly, NULL, NULL, NULL, -1 );
} else {
rc = 0;
first = 1;
while ( fgets( line, sizeof( line ), fp ) != NULL ) {
line[ strlen( line ) - 1 ] = '\0';