Skip to content

Commit

Permalink
Fix user name taken instead of group name
Browse files Browse the repository at this point in the history
  • Loading branch information
j8r committed Sep 16, 2019
1 parent 0ec1b25 commit b11d71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefix/app.cr
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ struct DPPM::Prefix::App
uid = Process.uid
gid = Process.gid
user = libcrown.users[uid].name
group = libcrown.users[gid].name
group = libcrown.groups[gid].name
end

vars["uid"] = uid.to_s
Expand Down

0 comments on commit b11d71d

Please sign in to comment.