Allow multiple concurrent control masters, and allow spaces in path, enhances #169

This commit is contained in:
deajan 2019-07-05 22:30:10 +02:00
parent 8f85d20a68
commit 219067be26
1 changed files with 1 additions and 1 deletions

View File

@ -2031,7 +2031,7 @@ function PreInit {
## SSH ControlMaster Multiplexing
if [ "$SSH_CONTROLMASTER" == true ]; then
SSH_OPTS="$SSH_OPTS -o ControlMaster=auto -o ControlPersist=yes -o ControlPath=$RUN_DIR/%r@%h"
SSH_OPTS="$SSH_OPTS -o ControlMaster=auto -o ControlPersist=yes -o ControlPath=\"$RUN_DIR/$PROGRAM.ctrlm.%r@%h.$SCRIPT_PID.$TSTAMP\""
fi
## Support for older config files without RSYNC_EXECUTABLE option