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

pull/184/head
deajan 5 years ago
parent 8f85d20a68
commit 219067be26

@ -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

Loading…
Cancel
Save