diff --git a/src/main.rs b/src/main.rs index 0e292dc..a24406e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -214,13 +214,15 @@ async fn async_main() { sleep(Duration::from_secs(i * 60 * 60)).await; i += 1; continue; - } else if err.output.starts_with("autoytarchivers:") + } else if err + .output + .starts_with("ERROR: autoytarchivers:") { drop(guard); let time: u64 = err .output - .splitn(3, &[':', ' '][..]) - .nth(1) + .splitn(5, &[':', ' '][..]) + .nth(3) .unwrap() .parse() .unwrap();