Skip to content

Commit fd49025

Browse files
committed
fix: nobody group not exist
1 parent 6d86670 commit fd49025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ impl CatBoxOption {
390390
let cgroup = env::var("CATJ_CGROUP").unwrap_or(current_user.name);
391391

392392
let catbox_user = User::from_name("nobody").unwrap().unwrap();
393-
let catbox_group = Group::from_name("nogroup").unwrap().unwrap();
393+
let catbox_group = Group::from_gid(catbox_user.gid).unwrap().unwrap();
394394

395395
CatBoxOption {
396396
label: "catbox".to_string(),

0 commit comments

Comments
 (0)