From: Ian Jackson Date: Sun, 6 Mar 2022 12:06:23 +0000 (+0000) Subject: cmdlistener: Fix an error message X-Git-Tag: otter-1.0.0~154 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=954a14568a651d028fbb99c2189f2c2a153cee62;p=otter.git cmdlistener: Fix an error message --- 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() ||