mirror of
https://github.com/deployphp/deployer.git
synced 2025-01-18 05:58:15 +01:00
Fix controlPath (length < 104) (#2740)
This commit is contained in:
parent
a2b3da8c32
commit
0a3db5d691
@ -259,7 +259,7 @@ class Client
|
||||
$controlPath = "$homeDir/.ssh/deployer_$connectionData";
|
||||
}
|
||||
$tryLongestPossible++;
|
||||
} while (strlen($controlPath) + $connectionHashLength > $unixMaxPath); // Unix socket max length
|
||||
} while (strlen($controlPath) + $connectionHashLength >= $unixMaxPath); // Unix socket max length
|
||||
|
||||
return $controlPath;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user