tui: don't fetch permissions for NMClient in nmtui

nmtui doesn't care about the permissions. Don't fetch them.
This commit is contained in:
Thomas Haller 2019-12-06 15:59:27 +01:00
parent 5859e9a53d
commit b6c83d18e4

View file

@ -236,6 +236,7 @@ main (int argc, char **argv)
if (!nmc_client_new_waitsync (NULL,
&nm_client,
&error,
NM_CLIENT_INSTANCE_FLAGS, (guint) NM_CLIENT_INSTANCE_FLAGS_NO_AUTO_FETCH_PERMISSIONS,
NULL)) {
g_printerr (_("Could not contact NetworkManager: %s.\n"), error->message);
g_error_free (error);