mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Remove broken error test found by Bryan Rittmeyer <bryan@ixiacom.com>.
This commit is contained in:
parent
567cdd1d51
commit
4f94e826cf
1 changed files with 0 additions and 5 deletions
|
|
@ -1637,11 +1637,6 @@ extern int print_file_by_name(char *filename)
|
|||
if ((file = wfopen(filename, "r")) == NULL)
|
||||
return FALSE;
|
||||
print_file(file);
|
||||
if (errno) {
|
||||
errorMsg("%s: %s\n", filename, strerror(errno));
|
||||
errno = 0;
|
||||
return FALSE;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
#endif /* BB_CAT */
|
||||
|
|
|
|||
Loading…
Reference in a new issue