Skip to content

Commit

Permalink
fix: nobody group not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Oct 6, 2023
1 parent 6d86670 commit fd49025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ impl CatBoxOption {
let cgroup = env::var("CATJ_CGROUP").unwrap_or(current_user.name);

let catbox_user = User::from_name("nobody").unwrap().unwrap();
let catbox_group = Group::from_name("nogroup").unwrap().unwrap();
let catbox_group = Group::from_gid(catbox_user.gid).unwrap().unwrap();

CatBoxOption {
label: "catbox".to_string(),
Expand Down

0 comments on commit fd49025

Please sign in to comment.