diff --git a/src/unisync/synchroniser.py b/src/unisync/synchroniser.py index 1f4ee10..ae51731 100644 --- a/src/unisync/synchroniser.py +++ b/src/unisync/synchroniser.py @@ -279,12 +279,12 @@ class Synchroniser: link_background_wrapper ] - link_update_process = subprocess.run(command, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) - - if not background: - print("Starting links update.") - link_update_process.wait() - print("Done") + print("Updating links") + subprocess.run(command, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, + check=False + ) def mount_remote_dir(self): """Mounts the remote directory to make the local links work.