applyProfile will apply the profile with the specified name to the process after the next exec.
(name string)
| 60 | // applyProfile will apply the profile with the specified name to the process |
| 61 | // after the next exec. |
| 62 | func applyProfile(name string) error { |
| 63 | if name == "" { |
| 64 | return nil |
| 65 | } |
| 66 | |
| 67 | return changeOnExec(name) |
| 68 | } |
no test coverage detected
searching dependent graphs…