FIx the one spot missed by 51b4ec9.
Austin S. Hemmelgarn committed
May 2, 2018 at 11:31 UTC
2efe254211890aed34a43a008833c9abc8b3f358
1 file changed
+1
-2
python.d/unbound.chart.py
+1
-2
@@ -130,8 +130,7 @@ class Service(SocketService):
130
self.cert = self.cert or conf['remote-control'].get('control-cert-file')
131
self.port = self.port or conf['remote-control'].get('control-port')
132
else:
133
- if not self.unix_socket:
134
- self.unix_socket = conf['remote-control'].get('control-interface')
133
+ self.unix_socket = self.unix_socket or conf['remote-control'].get('control-interface')
134
else:
135
self.debug('Unbound configuration not found.')
136
if not self.key: