diff --git a/src/main.rs b/src/main.rs index 5f826ed..b72c795 100644 --- a/src/main.rs +++ b/src/main.rs @@ -208,8 +208,8 @@ fn maybe_disown() { if let Ok(current_exe) = env::current_exe() { assert!(process::Command::new(current_exe) - .args(env::args().skip(1)) .arg("--nofork") + .args(env::args().skip(1)) .spawn() .is_ok()); process::exit(0);