From 6e7ddb2d2ec6b163dc2c178bc4d73b5943f51206 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sat, 15 Mar 2025 23:57:44 +0900 Subject: helper: eliminate commandContext replacement This is done more cleanly by modifying Args in cmdF. Signed-off-by: Ophestra --- helper/helper.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'helper/helper.go') diff --git a/helper/helper.go b/helper/helper.go index ac45ac79..8a25fee9 100644 --- a/helper/helper.go +++ b/helper/helper.go @@ -6,17 +6,12 @@ import ( "fmt" "io" "os" - "os/exec" "time" "git.gensokyo.uk/security/fortify/helper/proc" ) -var ( - WaitDelay = 2 * time.Second - - commandContext = exec.CommandContext -) +var WaitDelay = 2 * time.Second const ( // FortifyHelper is set to 1 when args fd is enabled and 0 otherwise. -- cgit v1.3.1