瀏覽代碼

Merge pull request #3 from Ilya33/master

typo fixes (get_smart_output => _get_smart_output)
George S. Baugh 7 年之前
父節點
當前提交
f55e8858d4
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 );