Merge branch 'flow' into daemonize

This commit is contained in:
Alexey
2026-03-27 11:35:52 +03:00
committed by GitHub
138 changed files with 17631 additions and 8160 deletions

View File

@@ -168,15 +168,13 @@ async fn run_inner(
);
std::process::exit(1);
}
} else {
if let Err(e) = std::fs::create_dir_all(data_path) {
eprintln!(
"[telemt] Can't create data_path {}: {}",
data_path.display(),
e
);
std::process::exit(1);
}
} else if let Err(e) = std::fs::create_dir_all(data_path) {
eprintln!(
"[telemt] Can't create data_path {}: {}",
data_path.display(),
e
);
std::process::exit(1);
}
if let Err(e) = std::env::set_current_dir(data_path) {