Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
infiniteregrets committed Nov 23, 2024
1 parent 72b80b3 commit f4fdeda
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ async fn run() -> Result<(), S2CliError> {
SIGTSTP | SIGINT | SIGTERM => {
drop(append_output_stream);
eprintln!("{}", "■ [ABORTED]".red().bold());
return Ok(());
break;
}
_ => {}
}
Expand Down Expand Up @@ -640,7 +640,7 @@ async fn run() -> Result<(), S2CliError> {
SIGTSTP | SIGINT | SIGTERM => {
drop(read_output_stream);
eprintln!("{}", "■ [ABORTED]".red().bold());
return Ok(());
break;
}
_ => {}
}
Expand Down Expand Up @@ -668,5 +668,5 @@ async fn run() -> Result<(), S2CliError> {
}
}
}
Ok(())
std::process::exit(0);
}

0 comments on commit f4fdeda

Please sign in to comment.