Re-enable forking

This commit is contained in:
Jeremy Soller 2024-10-09 15:43:38 -06:00
parent e25cd37f2d
commit 32659abb2e
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -82,7 +82,6 @@ pub fn desktop() -> Result<(), Box<dyn std::error::Error>> {
/// Runs application with these settings
#[rustfmt::skip]
pub fn main() -> Result<(), Box<dyn std::error::Error>> {
/*
#[cfg(all(unix, not(target_os = "redox")))]
match fork::daemon(true, true) {
Ok(fork::Fork::Child) => (),
@ -92,7 +91,6 @@ pub fn main() -> Result<(), Box<dyn std::error::Error>> {
process::exit(1);
}
}
*/
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("warn")).init();