Skip to content

Commit

Permalink
chore(ipc-service/linux): fix incorrect error message (#4976)
Browse files Browse the repository at this point in the history
closes #4952

Forgot to use `format!` here
  • Loading branch information
ReactorScram committed May 13, 2024
1 parent 3cdbc47 commit ca0de26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/headless-client/src/imp_linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit ca0de26

Please sign in to comment.