fix: clear rclone locks before each sync attempt

This commit is contained in:
Ash Brener 2026-01-28 14:38:01 +02:00
parent e802d0681e
commit b2397f63be

View File

@ -57,6 +57,10 @@ async function runSync(): Promise<void> {
const logger = currentLogger;
// Clear any stale locks before attempting sync
// (handles case where prior sync failed and left a lock behind)
clearStaleLocks(logger);
try {
// Check if rclone is available
const installed = await isRcloneInstalled();