162
169
if w.writeSystemFiles && (aptSettings != w.aptProxy || w.first) {
163
170
logger.Debugf("new apt proxy settings %#v", aptSettings)
165
177
// Always finish with a new line.
169
181
// It isn't really fatal, but we should record it.
170
182
logger.Errorf("error writing apt proxy config file: %v", err)
175
188
func (w *proxyWorker) onChange() error {