aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-11-24 22:19:58 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-11-24 22:20:31 +0100
commit83d08ca6aa16d361ce4e84da032c30e6a7fac3de (patch)
treecdeac7509d2d553008b459909fa1e95178a561eb
parent420c7763c61426339e09d4697d6598aaf2703cdd (diff)
fix shutdown error message for cases where no pid1 exists
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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")
}
}