mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 04:40:04 +01:00
core: fix nm_utils_get_nm_gid()
Fixes: 31dbcb81fe ('core: make nm_utils_get_nm_[ug]id() thread safe')
This commit is contained in:
parent
16ef33d380
commit
b58a37acfe
1 changed files with 1 additions and 1 deletions
|
|
@ -5417,7 +5417,7 @@ again:
|
|||
if ((g = g_atomic_int_get(&g_static)) == -1) {
|
||||
gid_t g2;
|
||||
|
||||
g2 = geteuid();
|
||||
g2 = getegid();
|
||||
g = g2;
|
||||
nm_assert(g == g2);
|
||||
nm_assert(g >= 0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue