Skip to content
Snippets Groups Projects
Commit 5a70963e authored by Sergey Joseph Ivanov's avatar Sergey Joseph Ivanov
Browse files

more zeros

parent 43512d3f
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,8 @@ sub handler { ...@@ -104,7 +104,8 @@ sub handler {
228G resilvered, 1.13% done, 4 days 17:00:28 to go 228G resilvered, 1.13% done, 4 days 17:00:28 to go
=cut =cut
my ($when,$days,$h,$m,$s,$howlong,$togo,$repaired,$errors,$canceled)=(0,0,0,0,0,0,0,0); my ($when,$days,$h,$m,$s,$howlong,$togo,$repaired,$errors,$canceled)
=(0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0);
my $STATUSCMD = "/usr/sbin/zpool status $zpool"; my $STATUSCMD = "/usr/sbin/zpool status $zpool";
open (my $status, "-|", $STATUSCMD)or die "can't run $STATUSCMD: $!"; open (my $status, "-|", $STATUSCMD)or die "can't run $STATUSCMD: $!";
while (<$status>) { while (<$status>) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment