|
From: Chris F. <cd...@fo...> - 2009-10-22 04:54:47
|
Hi,
If I apply the following patch to osynctool:
--- a/tools/osynctool.c
+++ b/tools/osynctool.c
@@ -1652,6 +1652,7 @@ int main (int argc, char *argv[])
goto error_free_group_env;
break;
case OSYNCTOOL_SYNC:
+ osynctool_configure_discover(group_env, plugin_env, groupname, membername, &error);
if (!osynctool_synchronize(group_env, groupname, wait, multi, slow_objects, &error)) {
g_list_free(slow_objects);
goto error_free_plugin_env;
Then when I run --sync (which now does the discover first), the sync
will give a segmentation fault.
I'm trying to figure out why this is the case, but if anyone has any
tips, I'm all ears. I need this sort of behaviour so that it is safe
to do all the config, discover, and sync, from one instance of a program,
and not have to start fresh each time like osynctool.
Thanks,
- Chris
|