ports/www/garage/files/patch-src_garage_main.rs
Ashish SHUKLA 4066838a86
www/garage: New port: Open-source distributed storage service
An open-source distributed storage service you can
self-host to fullfill many needs.

Goals:

 - Self-contained
 - Fast to deploy, safe to operate
 - Deploy everywhere on every machine
 - Highly resilient

WWW: https://garagehq.deuxfleurs.fr/
2022-02-08 20:59:36 +00:00

13 lines
452 B
Rust

--- src/garage/main.rs.orig 2022-02-08 20:27:47 UTC
+++ src/garage/main.rs
@@ -67,7 +67,9 @@ async fn main() {
// Abort on panic (same behavior as in Go)
std::panic::set_hook(Box::new(|panic_info| {
error!("{}", panic_info.to_string());
- std::process::abort();
+ std::process::exit(1);
+ // On FreeBSD it dumps core:
+ // std::process::abort();
}));
server::run_server(opt.config_file).await