summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 1d7e313..08d8761 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1038,7 +1038,7 @@ function setup_serial_port($when="save", $path="") {
// Loop through and only add lines that are not empty, and which
// do not contain a console directive.
foreach ($boot_config_split as $bcs) {
- if (!empty($bcs) &&
+ if (!empty($bcs)) &&
(stripos($bcs, "console") === false) &&
(stripos($bcs, "boot_multicons") === false) &&
(stripos($bcs, "boot_serial") === false)) &&
OpenPOWER on IntegriCloud