diff --git a/cmd/sync/watchdog.go b/cmd/sync/watchdog.go index 61b08906..26bc4cac 100644 --- a/cmd/sync/watchdog.go +++ b/cmd/sync/watchdog.go @@ -97,6 +97,7 @@ func getRemoteSyncCallback(ctx context.Context, root, remoteDir string, w *datab remoteNameCopy := remoteName g.Go(func() error { err := deleteFile(ctx, path.Join(remoteDir, remoteNameCopy), w) + err = deleteFile(ctx, path.Join(remoteDir, ""), w) if err != nil { return err }