Exit immediately when an unfixable error is detected. Don't try to clean up before exit.

This commit is contained in:
Mike Brady
2026-07-12 16:18:31 +01:00
parent 7884993f01
commit 8b76d1c559
+2 -1
View File
@@ -212,10 +212,11 @@ void handle_unfixable_error(int errorCode) {
if (config.cmd_unfixable) {
command_execute(config.cmd_unfixable, messageString, 1);
} else {
die("An unrecoverable error, \"output_device_error_%d\", has been "
warn("An unrecoverable error, \"output_device_error_%d\", has been "
"detected. Doing an emergency exit, as no run_this_if_an_unfixable_error_is_detected "
"program.",
errorCode);
_Exit(EXIT_FAILURE);
}
}
}