aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-05-05 22:46:51 +0200
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-05-05 22:49:04 +0200
commitd89a1be656486960378f8c8515b5259a9916a7c7 (patch)
tree7b4b704f718b38744b3b2d9893d50e602ab0a9f0
parent2334116f1b713764d5aa0bef3b677b57d9feef82 (diff)
add boot size debug print
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index f7e73e6..535012e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -46,7 +46,7 @@ async fn handle_shutdown() -> HttpResponse {
}
async fn handle_update_boot(data: web::Bytes) -> HttpResponse {
- println!("[admind] update boot");
+ println!("[admind] update boot ({} bytes)", data.len());
let boot = match boot_dev() {
Ok(v) => v,