summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-21 10:22:38 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-21 10:22:55 -0200
commitd274a75b0de3939047d62fbc262484bb0f857d14 (patch)
tree553a86e445eec6be996f7343f0b1153516bc83e1
parente3cffd6cefcfdcc8d18499f1e09eb17fe6aff9a9 (diff)
downloadpfsense-d274a75b0de3939047d62fbc262484bb0f857d14.zip
pfsense-d274a75b0de3939047d62fbc262484bb0f857d14.tar.gz
Fix syntax
-rw-r--r--etc/inc/pkg-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index d8ace47..a9fa800 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -664,7 +664,7 @@ function install_package($package, $pkg_info = "", $force_install = false) {
if (!install_package_xml($package)) {
uninstall_package($package);
write_config($changedesc);
- log_error(sprintf(gettext("Failed to install package: %s.") . $pkg_info['name']));
+ log_error(sprintf(gettext("Failed to install package: %s."), $pkg_info['name']));
$static_output .= gettext("Failed to install package.") . "\n";
update_output_window($static_output);
return -1;
@@ -672,7 +672,7 @@ function install_package($package, $pkg_info = "", $force_install = false) {
$static_output .= gettext("Writing configuration... ");
update_output_window($static_output);
write_config($changedesc);
- log_error(sprintf(gettext("Succefully installed package: %s.") . $pkg_info['name']));
+ log_error(sprintf(gettext("Succefully installed package: %s."), $pkg_info['name']));
$static_output .= gettext("done.") . "\n";
update_output_window($static_output);
if($pkg_info['after_install_info'])
OpenPOWER on IntegriCloud