]> git.proxmox.com Git - pve-lxc-syscalld.git/blobdiff - src/main.rs
update to tokio 1.0
[pve-lxc-syscalld.git] / src / main.rs
index a0f34b78cf16fac0385a87ca73333f565aec7d64..ca4366d81b3f41dfc9e84ec0121938d22b762f7b 100644 (file)
@@ -100,7 +100,7 @@ fn main() {
         }
     };
 
-    let mut rt = tokio::runtime::Runtime::new().expect("failed to spawn tokio runtime");
+    let rt = tokio::runtime::Runtime::new().expect("failed to spawn tokio runtime");
 
     if let Err(err) = rt.block_on(do_main(use_sd_notify, path)) {
         eprintln!("error: {}", err);