diff options
Diffstat (limited to 'lib/ephy-profile-utils.c')
-rw-r--r-- | lib/ephy-profile-utils.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c index a9edd7241..05367be8e 100644 --- a/lib/ephy-profile-utils.c +++ b/lib/ephy-profile-utils.c @@ -187,19 +187,22 @@ _ephy_profile_utils_query_form_auth_data (const char *uri, g_free (key_str); } -void +gboolean ephy_profile_utils_do_migration () { + gboolean ret; GError *error = NULL; char *argv[1] = { "ephy-profile-migrator" }; char *envp[1] = { "EPHY_LOG_MODULES=ephy-profile" }; - g_spawn_sync (NULL, argv, envp, G_SPAWN_SEARCH_PATH, - NULL, NULL, NULL, NULL, - NULL, &error); + ret = g_spawn_sync (NULL, argv, envp, G_SPAWN_SEARCH_PATH, + NULL, NULL, NULL, NULL, + NULL, &error); if (error) { LOG ("Failed to run migrator: %s", error->message); g_error_free (error); } + + return ret; } |