Project

General

Profile

« Previous | Next » 

Revision fad3ad59

Added by Renato Botelho almost 10 years ago

Fix install_package() return for failure

View differences:

etc/inc/pkg-utils.inc
442 442
		} else {
443 443
			log_error("Reinstalling package {$package['name']} because its include file({$include_file}) is missing!");
444 444
			uninstall_package($package['name']);
445
			if (install_package($package['name']) < 0) {
445
			if (install_package($package['name']) != 0) {
446 446
				log_error("Reinstalling package {$package['name']} failed. Take appropriate measures!!!");
447 447
				return;
448 448
			}

Also available in: Unified diff