From 788d1711db5ac23def864b36fd20e197243d88ad Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 26 Jan 2024 09:36:08 +0100 Subject: [PATCH] Refactor SSH command generation in remoteProcess.php --- bootstrap/helpers/remoteProcess.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/helpers/remoteProcess.php b/bootstrap/helpers/remoteProcess.php index d57579b5b..d981ca436 100644 --- a/bootstrap/helpers/remoteProcess.php +++ b/bootstrap/helpers/remoteProcess.php @@ -120,7 +120,7 @@ function generateSshCommand(Server $server, string $command) $delimiter = 'EOF-COOLIFY-SSH'; $ssh_command = "timeout $timeout ssh "; - if (config('coolify.mux_enabled') === true && config('coolify.is_windows_docker_desktop') === false) { + if (config('coolify.mux_enabled') && config('coolify.is_windows_docker_desktop') == false) { $ssh_command .= '-o ControlMaster=auto -o ControlPersist=1m -o ControlPath=/var/www/html/storage/app/ssh/mux/%h_%p_%r '; } if (data_get($server, 'settings.is_cloudflare_tunnel')) {