Bump version to 1.0.20

This commit is contained in:
2026-07-09 15:13:35 -04:00
parent 7a70355b6d
commit acd50ec9c0
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -172,8 +172,8 @@ func (r *RsyncRunner) RunRemote(ctx context.Context, pair *SyncPairConfig, remot
if remote.DestPrivKey != "" {
encodedKey := base64.StdEncoding.EncodeToString([]byte(remote.DestPrivKey))
innerSSH := fmt.Sprintf(`ssh -i /tmp/syncserver-dest-key -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null`)
rsyncPart := fmt.Sprintf("rsync %s -e %q %s %s",
strings.Join(args, " "), innerSSH, pair.Source, pair.Dest)
rsyncPart := fmt.Sprintf("rsync %s -e %q",
strings.Join(args, " "), innerSSH)
remoteCmd = fmt.Sprintf(
`echo '%s' | base64 -d > /tmp/syncserver-dest-key && chmod 600 /tmp/syncserver-dest-key && %s; STATUS=$?; rm -f /tmp/syncserver-dest-key; exit $STATUS`,
encodedKey, rsyncPart)