projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- add libbb function str_tolower to convert a string to lowercase.
[oweals/busybox.git]
/
coreutils
/
cmp.c
diff --git
a/coreutils/cmp.c
b/coreutils/cmp.c
index cff118279838e3857683e379b14be850658d0c2c..c70f8822dd18f52dad9e8b1e093a078ab8900810 100644
(file)
--- a/
coreutils/cmp.c
+++ b/
coreutils/cmp.c
@@
-30,7
+30,7
@@
static FILE *cmp_xfopen_input(const char * const filename)
fp = fopen_or_warn_stdin(filename);
if (fp)
return fp;
-
exit(xfunc_error_retval);
/* We already output an error message. */
+
sleep_and_die();
/* We already output an error message. */
}
static const char fmt_eof[] = "cmp: EOF on %s\n";