Skip to content
Snippets Groups Projects
Commit 949ca23f authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

chore: don't ignore error message in supervisor

parent 553bc973
No related branches found
No related tags found
1 merge request!592chore: don't ignore error message in supervisor
Pipeline #20214 passed
......@@ -154,7 +154,7 @@ fn main_run(args: args::Run) -> ! {
drop(from_parent);
drop(to_parent);
let msg = from_child.recv().ok();
let msg = from_child.recv();
let status = waitpid(child, None);
......@@ -172,7 +172,7 @@ fn main_run(args: args::Run) -> ! {
let status = status.unwrap();
println!("[supervisor:{parent}] subprocess finished: {status:?}");
if let Some(msg) = msg {
if let Ok(msg) = msg {
entrypoint = msg.next_entrypoint;
if msg.drop_db {
rm_tarantool_files(&args.data_dir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment