diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-10-13 22:30:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-10-13 22:30:58 +0000 |
commit | f9b205f3211e5905cb27101c1a3674824ec6d129 (patch) | |
tree | 14b0e1eef7594802c1437926808459f01b11dd75 /etc/inc/pkg-utils.inc | |
parent | e8f7361e8a0cc83c39efd2a84dc2273021fea995 (diff) | |
download | pfsense-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.inc | 2 |
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"; |