remove tokio:main from download-speed example

we use proxmox_backup::tools::runtime::main already

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2020-06-22 16:44:14 +02:00 committed by Dietmar Maurer
parent f386f512d0
commit 29c55e5fc4
1 changed files with 1 additions and 2 deletions

View File

@ -59,8 +59,7 @@ async fn run() -> Result<(), Error> {
Ok(())
}
#[tokio::main]
async fn main() {
fn main() {
if let Err(err) = proxmox_backup::tools::runtime::main(run()) {
eprintln!("ERROR: {}", err);
}