File might contain CR characters

This commit is contained in:
Jamie Cameron
2017-06-30 14:33:45 -07:00
parent 1f77afd259
commit 5d9efa9a3a

View File

@@ -4,7 +4,7 @@
if (!$no_check_support) {
my %suppport;
my $fsfile = &read_file_contents("/proc/filesystems");
foreach my $l (split(/\n/, $fsfile)) {
foreach my $l (split(/\r?\n/, $fsfile)) {
my @w = split(/\s+/, $l);
my $fs = pop(@w);
$support{$fs} = 1;