| 1 | Description: munpack should return 1 on errors. |
| 2 | Author: Fabio Augusto De Muzio Tobich <[email protected]> |
| 3 | Bug-Debian: https://bugs.debian.org/527555 |
| 4 | Last-Update: 2020-05-22 |
| 5 | --- mpack-1.6.orig/unixunpk.c |
| 6 | +++ mpack-1.6/unixunpk.c |
| 7 | @@ -90,6 +90,7 @@ int main(int argc, char **argv) |
| 8 | file = fopen(argv[optind], "r"); |
| 9 | if (!file) { |
| 10 | perror(argv[optind]); |
| 11 | + exit(1); |
| 12 | } |
| 13 | else { |
| 14 | didchat = 0; |