diff options
author | 2021-10-16 02:57:03 -0300 | |
---|---|---|
committer | 2021-10-16 17:08:29 -0300 | |
commit | 73d7ccc21039790163a31514f4fbde81543641fe (patch) | |
tree | a047c5e8d9fb4fc6da18b272eb6d50cdbfcb21fd | |
parent | add /run/shm to wrc (diff) | |
download | firejail-73d7ccc21039790163a31514f4fbde81543641fe.tar.gz firejail-73d7ccc21039790163a31514f4fbde81543641fe.tar.zst firejail-73d7ccc21039790163a31514f4fbde81543641fe.zip |
util.c: remove tty comment from get_group_id
-rw-r--r-- | src/firejail/util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/firejail/util.c b/src/firejail/util.c index 8749f79cc..1f5665cbc 100644 --- a/src/firejail/util.c +++ b/src/firejail/util.c | |||
@@ -960,7 +960,6 @@ uid_t pid_get_uid(pid_t pid) { | |||
960 | 960 | ||
961 | 961 | ||
962 | uid_t get_group_id(const char *group) { | 962 | uid_t get_group_id(const char *group) { |
963 | // find tty group id | ||
964 | gid_t gid = 0; | 963 | gid_t gid = 0; |
965 | struct group *g = getgrnam(group); | 964 | struct group *g = getgrnam(group); |
966 | if (g) | 965 | if (g) |