diff --git a/main.go b/main.go index a474ee9..4139e04 100644 --- a/main.go +++ b/main.go @@ -59,7 +59,7 @@ func execUp(iname string) error { func createInterfacesSetting(interfaces Interfaces) string { var tpl bytes.Buffer - tmpl := template.Must(template.ParseFiles("/home/vagrant/netman/netman/interfaces.tmpl")) + tmpl := template.Must(template.ParseFiles("/home/vagrant/netman/interfaces.tmpl")) tmpl.Execute(&tpl, interfaces) return tpl.String() }