| 2904 | serious failure; otherwise, it is merely a minor problem. */ |
| 2905 | |
| 2906 | static void |
| 2907 | set_exit_status (bool serious) |
| 2908 | { |
| 2909 | if (serious) |
| 2910 | exit_status = LS_FAILURE; |
| 2911 | else if (exit_status == EXIT_SUCCESS) |
| 2912 | exit_status = LS_MINOR_PROBLEM; |
| 2913 | } |
| 2914 | |
| 2915 | /* Assuming a failure is serious if SERIOUS, use the printf-style |
| 2916 | MESSAGE to report the failure to access a file named FILE. Assume |
no outgoing calls
no test coverage detected