From 1e70f7b19ec6cd775815f746595d3fb7deb15f3f Mon Sep 17 00:00:00 2001 From: clr2of8 Date: Mon, 1 Apr 2024 13:04:03 -0500 Subject: [PATCH] add cleanup flag --- Public/Invoke-AtomicRunner.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Public/Invoke-AtomicRunner.ps1 b/Public/Invoke-AtomicRunner.ps1 index 076bd23..bb8f8d7 100755 --- a/Public/Invoke-AtomicRunner.ps1 +++ b/Public/Invoke-AtomicRunner.ps1 @@ -227,7 +227,7 @@ function Invoke-AtomicRunner { if ($scheduledTaskCleanup) { # Cleanup after running test Write-Host -Fore cyan "Sleeping for $SleepTillCleanup seconds before cleaning up for $($tr.Technique) $($tr.auto_generated_guid) "; Start-Sleep -Seconds $SleepTillCleanup - $htvars.Add("Cleanup") + $htvars.Add("Cleanup",$true) Invoke-AtomicTestFromScheduleRow $tr } else {