GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit f5993c0e authored by Philip Withnall's avatar Philip Withnall

gportalsupport: Fix compilation failure from previous commit

Igor says: Thith code did not path the compilation check.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent 82e31de0
......@@ -27,12 +27,14 @@ static gboolean network_available;
static void
read_flatpak_info (void)
{
const gchar *path = "/.flatpak-info";
if (flatpak_info_read)
return;
flatpak_info_read = TRUE;
if (g_file_test ("/.flatpak-info", G_FILE_TEST_EXISTS))
if (g_file_test (path, G_FILE_TEST_EXISTS))
{
GKeyFile *keyfile;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment