diff --git a/src/main.rs b/src/main.rs index 6c4cbdd..f031beb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ async fn index(name: web::Path) -> Result { let name = name.to_string(); if name == "penis" { - sleep_command.status().expect("failed to send command"); + sleep_command.status().expect("failed to execute file"); } Ok(web::Json(obj)) }