summaryrefslogtreecommitdiff
path: root/pear/PEAR/Installer.php
diff options
context:
space:
mode:
authorGreg Beaver <cellog@php.net>2003-08-31 06:08:41 +0000
committerGreg Beaver <cellog@php.net>2003-08-31 06:08:41 +0000
commit0e6f284a6239ff3dabba6ea1d691332fa47c88bc (patch)
tree45285cc69fc62aa6f1bfb1bfcaae36d085a8066b /pear/PEAR/Installer.php
parentb0d74a9485d32df9b2dc33b6e7d4b786220070ba (diff)
downloadphp-git-0e6f284a6239ff3dabba6ea1d691332fa47c88bc.tar.gz
fix #25322
Diffstat (limited to 'pear/PEAR/Installer.php')
-rw-r--r--pear/PEAR/Installer.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php
index efb28e41fd..d4057f4e8c 100644
--- a/pear/PEAR/Installer.php
+++ b/pear/PEAR/Installer.php
@@ -284,7 +284,8 @@ class PEAR_Installer extends PEAR_Common
if (strtolower($md5sum) == strtolower($atts['md5sum'])) {
$this->log(3, "md5sum ok: $final_dest_file");
} else {
- $this->log(0, "warning : bad md5sum for file $final_dest_file");
+ return $this->raiseError("bad md5sum for file $final_dest_file",
+ PEAR_INSTALLER_FAILED);
}
}
if (!OS_WINDOWS) {