diff options
author | Greg Beaver <cellog@php.net> | 2003-08-31 06:08:41 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2003-08-31 06:08:41 +0000 |
commit | 0e6f284a6239ff3dabba6ea1d691332fa47c88bc (patch) | |
tree | 45285cc69fc62aa6f1bfb1bfcaae36d085a8066b /pear/PEAR/Installer.php | |
parent | b0d74a9485d32df9b2dc33b6e7d4b786220070ba (diff) | |
download | php-git-0e6f284a6239ff3dabba6ea1d691332fa47c88bc.tar.gz |
fix #25322
Diffstat (limited to 'pear/PEAR/Installer.php')
-rw-r--r-- | pear/PEAR/Installer.php | 3 |
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) { |