Allow multiple concurrent control masters, and allow spaces in path, enhances #169
This commit is contained in:
parent
8f85d20a68
commit
219067be26
|
@ -2031,7 +2031,7 @@ function PreInit {
|
||||||
|
|
||||||
## SSH ControlMaster Multiplexing
|
## SSH ControlMaster Multiplexing
|
||||||
if [ "$SSH_CONTROLMASTER" == true ]; then
|
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
|
fi
|
||||||
|
|
||||||
## Support for older config files without RSYNC_EXECUTABLE option
|
## Support for older config files without RSYNC_EXECUTABLE option
|
||||||
|
|
Loading…
Reference in New Issue