summaryrefslogtreecommitdiff
path: root/lib/Kratos/DFADriver.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kratos/DFADriver.pm')
-rw-r--r--lib/Kratos/DFADriver.pm2
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);
}