lightster / dnsmasq-mgmt

📇 Tool for managing `address` entries in dnsmasq
MIT License
2 stars 1 forks source link

Exception thrown when removing address #12

Closed lightster closed 9 years ago

lightster commented 9 years ago

An exception is being thrown when removing an address. The exception indicates the resolver file could not be removed, but the resolver file in fact is removed:

    $ ll /etc/resolver/
total 32
-rw-r--r--  1 lightster  staff  21 Dec 10 23:28 m.com
-rw-r--r--  1 lightster  staff  21 Dec 10 23:28 v.com
-rw-r--r--  1 lightster  staff  21 Dec 14 00:27 y.com
-rw-r--r--  1 lightster  staff  21 Dec 12 22:08 z.com

    $ dnsmasq-mgmt address:remove z.com

  [Exception]                                            
  Could not remove resolver file: '/etc/resolver/z.com'  

address:remove hostname

    $ ll /etc/resolver/
total 24
-rw-r--r--  1 lightster  staff  21 Dec 10 23:28 m.com
-rw-r--r--  1 lightster  staff  21 Dec 10 23:28 v.com
-rw-r--r--  1 lightster  staff  21 Dec 14 00:27 y.com