diff --git a/PVE/Storage/ZFSPoolPlugin.pm b/PVE/Storage/ZFSPoolPlugin.pm index 7315c0c..047a06e 100644 --- a/PVE/Storage/ZFSPoolPlugin.pm +++ b/PVE/Storage/ZFSPoolPlugin.pm @@ -173,7 +173,7 @@ sub zfs_request { push @$cmd, 'zpool', 'list'; } elsif ($method eq 'zpool_import') { push @$cmd, 'zpool', 'import'; - $default_timeout = 15 if $default_timeout < 15; + $timeout = 15 if !$timeout || $timeout < 15; } else { push @$cmd, 'zfs', $method; }