]> git.proxmox.com Git - pve-storage.git/commitdiff
Remove pool with -f parameter.
authorWolfgang Link <w.link@proxmox.com>
Tue, 13 Mar 2018 14:11:01 +0000 (15:11 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 14 Mar 2018 09:49:41 +0000 (10:49 +0100)
The test pool will not removed if we do not force it.

test/run_test_zfspoolplugin.pl

index bda834887684e70a2f0bd2c99f79307fb7b2320a..f6218b1ce3055f36a026cc604c38984e5914bec5 100755 (executable)
@@ -2643,7 +2643,7 @@ sub setup_zpool {
 sub clean_up_zpool {
 
     eval {
-       run_command("zpool destroy $subvol");
+       run_command("zpool destroy -f $subvol");
     };
     if ($@) {
        warn $@;}