diff options
author | jim-p <jimp@netgate.com> | 2019-02-13 08:36:38 -0500 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2019-02-13 08:39:01 -0500 |
commit | edf4b0fb199ab565a2c404b8cf92a884c3b8aab7 (patch) | |
tree | 6658c1bc6aacc1d5e4e1a10bc542865d02296e97 /src/usr/local/www | |
parent | be8a5a8a71d4f6022ab7cd7233133b51a79cf84a (diff) | |
download | pfsense-edf4b0fb199ab565a2c404b8cf92a884c3b8aab7.zip pfsense-edf4b0fb199ab565a2c404b8cf92a884c3b8aab7.tar.gz |
Correct syntax error in diag_backup.php. Fixes #9316
(cherry picked from commit e0b32eb9e6b040fd14025b5c32644959ba67250e)
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/diag_backup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_backup.php b/src/usr/local/www/diag_backup.php index f54ef52..b746381 100644 --- a/src/usr/local/www/diag_backup.php +++ b/src/usr/local/www/diag_backup.php @@ -329,7 +329,7 @@ if ($_POST) { if (file_exists("/boot/loader.conf")) { $loaderconf = file_get_contents("/boot/loader.conf"); if (strpos($loaderconf, "console=\"comconsole") || - strpos($loaderconf, "boot_serial=\"YES") { + strpos($loaderconf, "boot_serial=\"YES")) { $config['system']['enableserial'] = true; write_config(gettext("Restore serial console enabling in configuration.")); } @@ -338,7 +338,7 @@ if ($_POST) { if (file_exists("/boot/loader.conf.local")) { $loaderconf = file_get_contents("/boot/loader.conf.local"); if (strpos($loaderconf, "console=\"comconsole") || - strpos($loaderconf, "boot_serial=\"YES") { + strpos($loaderconf, "boot_serial=\"YES")) { $config['system']['enableserial'] = true; write_config(gettext("Restore serial console enabling in configuration.")); } |