From 2688d7033257279418eb349cf9326ec191222cb5 Mon Sep 17 00:00:00 2001 From: "alejandro.campos@artica.es" Date: Mon, 23 Oct 2023 15:50:01 +0200 Subject: [PATCH] oum update checks --- .../update_manager_client/lib/UpdateManager/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/update_manager_client/lib/UpdateManager/Client.php b/pandora_console/update_manager_client/lib/UpdateManager/Client.php index 32f37dfd29..f8c584c5a9 100644 --- a/pandora_console/update_manager_client/lib/UpdateManager/Client.php +++ b/pandora_console/update_manager_client/lib/UpdateManager/Client.php @@ -1318,7 +1318,7 @@ class Client // that will be updated in product. // Do once. $source_size = $this->getDirectorySize($from); - $source_size = 999999999999; + // Check available disk space before writing files. if (disk_free_space($to) < $source_size) { throw new \Exception('Not enough disk space to write the files');