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

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 ...@@ -99,7 +99,10 @@ prepareDaemon out stdErr test v powercap vars = do
cleanContainers :: FilePath -> IO () cleanContainers :: FilePath -> IO ()
cleanContainers argo_nodeos_config = cleanContainers argo_nodeos_config =
runProcess 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 >>= \case
ExitFailure n -> nodeOsFailure n ExitFailure n -> nodeOsFailure n
ExitSuccess -> return () 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