Commit graph

9 commits

Author SHA1 Message Date
Leo Antunes
b6d9115583 also ignore entries without ip during writing 2018-08-25 22:28:04 +02:00
Leo Antunes
06d16b7b51 close tmpfile before removing to avoid fd leak 2018-08-25 22:27:38 +02:00
Leo Antunes
2c93f8b233 merge calls to fmt.Fprintf 2018-08-25 19:40:24 +02:00
Leo Antunes
f6a14606f1 pass config around instead of using as global 2018-08-25 12:31:08 +02:00
Leo Antunes
cc75212b46 fsync tmpfile file before overwriting hostsfile 2018-08-25 12:29:49 +02:00
Leo Antunes
42552f4316 add more error reporting and fallback mode for docker 2018-08-23 00:25:12 +02:00
Leo Antunes
95c2cbeaae better handling of log level option 2018-08-22 22:25:41 +02:00
Leo Antunes
03a5f533ca add acutal etchosts syncing 2018-08-22 00:09:55 +02:00
Leo Antunes
a7f3eb52f6 WIP 2018-08-19 02:06:39 +02:00