From 954a14568a651d028fbb99c2189f2c2a153cee62 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 6 Mar 2022 12:06:23 +0000 Subject: [PATCH] cmdlistener: Fix an error message --- daemon/cmdlistener.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/cmdlistener.rs b/daemon/cmdlistener.rs index 1cf3fc71..674bedff 100644 --- a/daemon/cmdlistener.rs +++ b/daemon/cmdlistener.rs @@ -1599,7 +1599,7 @@ impl CommandStreamData<'_> { AuthState::Superuser { euid, .. } => euid, AuthState::None { euid, .. } => euid, AuthState::Ssh { .. } => throw!(anyhow!( - "{}: cannot authorise by uid as ,now in AuthState::Ssh")), + "{}: cannot authorise by uid as now in AuthState::Ssh", &self)), }.as_ref().map_err(|e| e.clone())?; let server_uid = Uid::current(); if client_euid.is_root() || -- 2.30.2