From 83d08ca6aa16d361ce4e84da032c30e6a7fac3de Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Fri, 24 Nov 2023 22:19:58 +0100 Subject: fix shutdown error message for cases where no pid1 exists --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index e974f4a..6ca60d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -80,7 +80,7 @@ async fn handle_shutdown() -> HttpResponse { } else { HttpResponse::InternalServerError() .content_type(ContentType::plaintext()) - .body("can't shut down: {}") + .body("can't shut down: no pid1") } } -- cgit v1.2.3