diff options
author | Jiří Klimeš <jklimes@redhat.com> | 2015-01-07 17:54:13 +0100 |
---|---|---|
committer | Jiří Klimeš <jklimes@redhat.com> | 2015-01-07 17:54:13 +0100 |
commit | 675d545bcc614a9e9d734eb05c00d4e01c0797a4 (patch) | |
tree | 4e7f64b9eda268ad54fa2e064c9ae7184636f92d | |
parent | e4f32abfec761081f671f798f72f5f4f08bd5a00 (diff) | |
download | NetworkManager-675d545bcc614a9e9d734eb05c00d4e01c0797a4.tar.gz |
tui: fix saving "Available to all users" (rh #1176042)
-rw-r--r-- | clients/tui/nmt-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/tui/nmt-editor.c b/clients/tui/nmt-editor.c index 11fe758dac..abc9286637 100644 --- a/clients/tui/nmt-editor.c +++ b/clients/tui/nmt-editor.c @@ -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 ()); |