mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 06:00:08 +01:00
tui: fix saving "Available to all users" (rh #1176042)
This commit is contained in:
parent
e4f32abfec
commit
675d545bcc
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ permissions_transform_from_allusers (GBinding *binding,
|
|||
gboolean allusers = g_value_get_boolean (source_value);
|
||||
char **perms = NULL;
|
||||
|
||||
if (allusers) {
|
||||
if (!allusers) {
|
||||
perms = g_new (char *, 2);
|
||||
|
||||
perms[0] = g_strdup_printf ("user:%s:", g_get_user_name ());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue