summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-15 22:05:52 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-15 22:05:52 +0200
commit0c9bdca72519b6b2bd0e17b491d80b4015bef529 (patch)
tree342e0df71b9f06351843497400e3c424caa11047 /src
parent10d7aa3545ba7522445e2ff56ec5df937224688d (diff)
downloadvyos-1x-0c9bdca72519b6b2bd0e17b491d80b4015bef529.tar.gz
vyos-1x-0c9bdca72519b6b2bd0e17b491d80b4015bef529.zip
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'.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/host_name.py2
1 files changed, 1 insertions, 1 deletions
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')