From ed07d26a89ceba3e35c1d1847ac2cd1a21cfc56b Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Thu, 7 Nov 2024 05:41:44 +0100 Subject: [PATCH] Fix hanging the deployment process in some cases This bug has been reported by @satamazing in bacularis-web repository: https://github.com/bacularis/bacularis-web/issues/8 --- Web/Modules/SSH.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Modules/SSH.php b/Web/Modules/SSH.php index c744285..730e9e0 100644 --- a/Web/Modules/SSH.php +++ b/Web/Modules/SSH.php @@ -160,7 +160,7 @@ private function prepareCommand($address, array $params, array $command, $ptype) $remote_cmd = ''; if (count($command) > 0) { - $remote_cmd = implode(' ', $command); + $remote_cmd = 'LANG=C ' . implode(' ', $command); } $dest = $address;