summaryrefslogtreecommitdiffstats
path: root/etc/inc/pkg-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-13 22:30:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-13 22:30:58 +0000
commitf9b205f3211e5905cb27101c1a3674824ec6d129 (patch)
tree14b0e1eef7594802c1437926808459f01b11dd75 /etc/inc/pkg-utils.inc
parente8f7361e8a0cc83c39efd2a84dc2273021fea995 (diff)
downloadpfsense-f9b205f3211e5905cb27101c1a3674824ec6d129.zip
pfsense-f9b205f3211e5905cb27101c1a3674824ec6d129.tar.gz
Allow -1 return to indicated package failure. Removing exit
Diffstat (limited to 'etc/inc/pkg-utils.inc')
-rw-r--r--etc/inc/pkg-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index bd0b553..6c5b5ad 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -387,7 +387,7 @@ function install_package($package, $pkg_info = "") {
$static_output .= "failed!\n\nInstallation aborted.";
update_output_window($static_output);
echo "<br>Show <a href=\"pkg_mgr_install.php?showlog=true\">install log</a></center>";
- exit;
+ return -1;
}
}
$static_output .= "done.\n";
OpenPOWER on IntegriCloud