chiark / gitweb /
cmdlistener: Fix an error message
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 12:06:23 +0000 (12:06 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 12:06:23 +0000 (12:06 +0000)
daemon/cmdlistener.rs

index 1cf3fc718eeda90420c82ee9676334287bc2e976..674bedffa4aa5fde9f5afa4a9679a858465761ab 100644 (file)
@@ -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() ||