cmd := exec.Command("/bin/sh", "-c", command)
cmd.Env = safcmEnviroment(s.req.Groups)
// Cannot use cmd.CombinedOutputCmd() because we need another log
// level (here the command is the actual change and not a side effect)
// and different error handling.
cmd := exec.Command("/bin/sh", "-c", command)
cmd.Env = safcmEnviroment(s.req.Groups)
// Cannot use cmd.CombinedOutputCmd() because we need another log
// level (here the command is the actual change and not a side effect)
// and different error handling.