Skip to content

Commit

Permalink
Fix reboot
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Bluhm <[email protected]>
  • Loading branch information
mbssrc committed Aug 22, 2024
1 parent 31b1181 commit 1f01084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/admin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ impl pb::admin_service_server::AdminService for AdminService {
) -> std::result::Result<tonic::Response<Empty>, tonic::Status> {
escalate(request, |_| async {
self.inner
.send_system_command(String::from("poweroff.target"))
.send_system_command(String::from("reboot.target"))
.await?;
Ok(Empty {})
})
Expand Down

0 comments on commit 1f01084

Please sign in to comment.