chore(ipc-service/linux): fix incorrect error message (#4976)

closes #4952

Forgot to use `format!` here
This commit is contained in:
Reactor Scram
2024-05-13 10:59:14 -05:00
committed by GitHub
parent 3cdbc478ff
commit ca0de26c75

View File

@@ -196,7 +196,7 @@ pub(crate) fn run_ipc_service(
pub fn firezone_group() -> Result<nix::unistd::Group> {
let group = nix::unistd::Group::from_name(FIREZONE_GROUP)
.context("can't get group by name")?
.context("`{FIREZONE_GROUP}` group must exist on the system")?;
.with_context(|| format!("`{FIREZONE_GROUP}` group must exist on the system"))?;
Ok(group)
}