summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_static_multicast.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/protocols_static_multicast.py')
-rwxr-xr-xsrc/conf_mode/protocols_static_multicast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_static_multicast.py b/src/conf_mode/protocols_static_multicast.py
index eeab26d4d..232d1e181 100755
--- a/src/conf_mode/protocols_static_multicast.py
+++ b/src/conf_mode/protocols_static_multicast.py
@@ -101,7 +101,7 @@ def apply(mroute):
return None
if os.path.exists(config_file):
- call("sudo vtysh -d staticd -f " + config_file)
+ call(f'vtysh -d staticd -f {config_file}')
os.remove(config_file)
return None