mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not write out line unless it has contents
This commit is contained in:
parent
6b769ce2e7
commit
f9e209e560
@ -210,7 +210,8 @@ if ($_POST) {
|
||||
} else {
|
||||
foreach($etc_ttys as $tty) {
|
||||
if(stristr($tty,"ttyv0") <> true) {
|
||||
fwrite($fout, $tty . "\n");
|
||||
if($tty <> "")
|
||||
fwrite($fout, $tty . "\n");
|
||||
}
|
||||
}
|
||||
if(isset($pconfig['enableserial']))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user