From 0c9bdca72519b6b2bd0e17b491d80b4015bef529 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 15 Apr 2020 22:05:52 +0200 Subject: dns-forwarding: T2298: remove wrongly added number Commit 16b2fc8 ("dns-forwarding: T2298: fix path to control file") added a wrong prefix to the line before executing 'systemctl restart snmpd.service'. --- src/conf_mode/host_name.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conf_mode/host_name.py b/src/conf_mode/host_name.py index 7b819a863..a669580ae 100755 --- a/src/conf_mode/host_name.py +++ b/src/conf_mode/host_name.py @@ -162,7 +162,7 @@ def apply(config): # If SNMP is running, restart it too if process_named_running('snmpd'): -2298: call('systemctl restart snmpd.service') + call('systemctl restart snmpd.service') # restart pdns if it is used ret = run('/usr/bin/rec_control --socket-dir=/run/powerdns ping') -- cgit v1.2.3