chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e437c44
)
cmdlistener: Fix an error message
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 12:06:23 +0000
(12:06 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 6 Mar 2022 12:06:23 +0000
(12:06 +0000)
daemon/cmdlistener.rs
patch
|
blob
|
history
diff --git
a/daemon/cmdlistener.rs
b/daemon/cmdlistener.rs
index 1cf3fc718eeda90420c82ee9676334287bc2e976..674bedffa4aa5fde9f5afa4a9679a858465761ab 100644
(file)
--- 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() ||