Be more truthful about network availability

If flatpak-info exists, but we don't have the shared key, then
the network is not available. Pointed out by Cosimo.
This commit is contained in:
Matthias Clasen 2016-07-06 19:42:12 -04:00
parent f08b703f84
commit ce62ca0c14

View File

@ -61,6 +61,8 @@ glib_network_available_in_sandbox (void)
available = g_strv_contains ((const char * const *)shared, "network");
g_strfreev (shared);
}
else
available = FALSE;
}
g_key_file_free (keyfile);