Commit 7e98c73e authored by Valentin Reis's avatar Valentin Reis

bugfix sudo env.

parent 09b37e85
Pipeline #6126 passed with stages
in 41 seconds
......@@ -99,7 +99,10 @@ prepareDaemon out stdErr test v powercap vars = do
cleanContainers :: FilePath -> IO ()
cleanContainers argo_nodeos_config =
runProcess
(proc "sudo" [argo_nodeos_config, "--clean_config=kill_content:true"])
(setEnv (castArg <$> vars) $ proc
"sudo"
[argo_nodeos_config, "--clean_config=kill_content:true"]
)
>>= \case
ExitFailure n -> nodeOsFailure n
ExitSuccess -> return ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment