(tmpPath string)
| 175 | } |
| 176 | |
| 177 | func writeTempResolvconfConf(tmpPath string) error { |
| 178 | _ = os.Remove(tmpPath) |
| 179 | tmp, err := os.Create(tmpPath) |
| 180 | if err != nil { |
| 181 | return err |
| 182 | } |
| 183 | defer tmp.Close() |
| 184 | _, err = fmt.Fprintln(tmp, "resolvconf=NO") |
| 185 | return err |
| 186 | } |
no test coverage detected
searching dependent graphs…