mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
Removing redundant controlPath attempts (#1941)
This commit is contained in:
parent
30552dccec
commit
bca1d2d822
@ -141,15 +141,9 @@ class Arguments
|
|||||||
$controlPath = "$homeDir/.ssh/deployer_%C";
|
$controlPath = "$homeDir/.ssh/deployer_%C";
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
$controlPath = "$homeDir/.ssh/deployer_$connectionData";
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
$controlPath = "$homeDir/.ssh/deployer_%C";
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
$controlPath = "$homeDir/.ssh/mux_%C";
|
$controlPath = "$homeDir/.ssh/mux_%C";
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 3:
|
||||||
throw new Exception("The multiplexing control path is too long. Control path is: $controlPath");
|
throw new Exception("The multiplexing control path is too long. Control path is: $controlPath");
|
||||||
default:
|
default:
|
||||||
$controlPath = "$homeDir/.ssh/deployer_$connectionData";
|
$controlPath = "$homeDir/.ssh/deployer_$connectionData";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user