Skip to content
Browse files

fixed bareword usage

  • Loading branch information...
1 parent 121acee commit facc138b1b810f5d3c5ce38e42c6350f56d66a19 sshAdm.in committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 snapback.pl
View
2 snapback.pl
@@ -234,7 +234,7 @@ sub automagic {
foreach my $file (@deviceFiles){
open(my $FILE, "<", $file) or die $!;
print "$file opened correctly\n" if ($debug);
- while(my $line=$FILE){
+ while(my $line=<$FILE>){
my @splittedLine=split(/\s+/,$line);
my $dev=$splittedLine[0];
my $mntPoint=$splittedLine[1];

0 comments on commit facc138

Please sign in to comment.
Something went wrong with that request. Please try again.