diff options
-rw-r--r-- | lib/Kratos/DFADriver.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kratos/DFADriver.pm b/lib/Kratos/DFADriver.pm index ade6067..dfabef8 100644 --- a/lib/Kratos/DFADriver.pm +++ b/lib/Kratos/DFADriver.pm @@ -1276,7 +1276,7 @@ sub launchpad_log_read { croak("Serial port was disconnected"); } if ( $count > 0 ) { - my @lines = split( /\n\r/, $chars ); + my @lines = split( /\n\r|\r\n/, $chars ); for my $line (@lines) { $self->launchpad_parse_line($line); } |