From 24342980f33c87bf081b488a72d8fc20d4682a70 Mon Sep 17 00:00:00 2001 From: John Dilley Date: Tue, 17 Nov 2015 20:35:11 +0000 Subject: [PATCH] Only do keepSetup when also atExit --- exec/xenrt/resources.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/xenrt/resources.py b/exec/xenrt/resources.py index cd506bb79..87b320aa5 100755 --- a/exec/xenrt/resources.py +++ b/exec/xenrt/resources.py @@ -1521,7 +1521,7 @@ class HBALun(CentralResource): return self.mpclaim def release(self, atExit=False): - if xenrt.util.keepSetup(): + if xenrt.util.keepSetup() and atExit: xenrt.TEC().logverbose("Not releasing LUN %s" % self.scsiid) return -- 2.39.5