summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/head.inc
diff options
context:
space:
mode:
authork-paulius <k.dash.paulius@gmail.com>2016-02-18 01:35:43 -0600
committerStephen Beaver <sbeaver@netgate.com>2016-02-18 07:51:07 -0500
commitc33a3c20158d439297347d15d5316660f3b3e1a0 (patch)
tree822a397612976a2d99e1b8ed2a8f3544d36a77b4 /src/usr/local/www/head.inc
parent1ba98d4fea9fe0b1f58c6e17cb5289c92f2442db (diff)
downloadpfsense-c33a3c20158d439297347d15d5316660f3b3e1a0.zip
pfsense-c33a3c20158d439297347d15d5316660f3b3e1a0.tar.gz
Correct if statement
Diffstat (limited to 'src/usr/local/www/head.inc')
-rw-r--r--src/usr/local/www/head.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/head.inc b/src/usr/local/www/head.inc
index c5959d4..e2b87da 100644
--- a/src/usr/local/www/head.inc
+++ b/src/usr/local/www/head.inc
@@ -546,7 +546,7 @@ if ('' != ($link = get_shortcut_log_link($shortcut_section, false))) {
</header>
<?php
/* if upgrade in progress, alert user */
-if (is_subsystem_dirty('packagelock') || file_exists('/conf/needs_package_sync' && platform_booting())) {
+if (is_subsystem_dirty('packagelock') || (file_exists('/conf/needs_package_sync') && platform_booting())) {
if (file_exists('/conf/needs_package_sync') && platform_booting()) {
$warning_text = sprintf(gettext("<p>%s is booting, then packages will be reinstalled in the background.</p><p>Do not make changes in the GUI until this is complete.</p>"), $g['product_name']);
} else {
OpenPOWER on IntegriCloud