runners : fix sync runner not synchronising links

The wrong function was call in the sync runner (update_links instead of
sync_links) which mean the links were updated remotly but never
synchronised with the local.
Call sync_links instead.
We keep the call to update_links but set it to be in background.
This commit is contained in:
2026-01-03 18:02:20 +01:00
parent f40a5c9276
commit f050dcc94f

View File

@@ -12,9 +12,10 @@ def unisync_sync(synchroniser:Synchroniser, paths_manager:PathsManager):
print("Connected to the remote.")
synchroniser.sync_files(paths_manager.get_paths_to_sync())
synchroniser.update_links(background=False)
synchroniser.sync_links(paths_manager.get_paths_to_sync())
# TODO check the config options
# TODO check the config options and do or don't do the following
synchroniser.update_links()
#synchroniser.mount_remote_dir()
synchroniser.close_ssh_master_connection()