Merge pull request #81 from sontru/master

Update ZFSPlugin.pm.patch
This commit is contained in:
Kevin Scott Adams
2020-10-16 17:46:36 -04:00
committed by GitHub
+1 -1
View File
@@ -129,7 +129,7 @@
+ sleep 3;
+ run_command("iscsiadm -m session --rescan");
+ sleep 3;
+ my $line = `multipath -ll | grep \"$wwid_end\"`;
+ my $line = `/usr/sbin/multipath -ll | grep \"$wwid_end\"`;
+ my ($mapper_device) = split(' ', $line);
+ $mapper_device = "" unless $mapper_device;
+ $mapper .= $mapper_device;