Prechádzať zdrojové kódy

Merge pull request #3 from Ilya33/master

typo fixes (get_smart_output => _get_smart_output)
George S. Baugh 7 rokov pred
rodič
commit
f55e8858d4
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lib/Disk/SMART.pm

+ 1 - 1
lib/Disk/SMART.pm

@@ -207,7 +207,7 @@ sub run_short_test {
     my ( $self, $device ) = @_;
     $self->_validate_param($device);
 
-    my $test_out = get_smart_output( $device, '-t short' );
+    my $test_out = _get_smart_output( $device, '-t short' );
     my ($short_test_time) = $test_out =~ /Please wait (.*) minutes/s;
     sleep( $short_test_time * 60 );