mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Write exitcode on exit
This commit is contained in:
@@ -150,7 +150,7 @@ fn main() {
|
|||||||
// Run
|
// Run
|
||||||
info!("Starting activity manager...");
|
info!("Starting activity manager...");
|
||||||
let rc: i32 = run(run_opts);
|
let rc: i32 = run(run_opts);
|
||||||
info!("termscp terminated");
|
info!("termscp terminated with exitcode {}", rc);
|
||||||
// Then return
|
// Then return
|
||||||
std::process::exit(rc);
|
std::process::exit(rc);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user