fix: 将ssh用户名manager改为omcuser

This commit is contained in:
TsMask
2024-06-06 15:56:41 +08:00
parent 8d455bb361
commit 4fe2e4f3f4
7 changed files with 33 additions and 34 deletions

View File

@@ -77,7 +77,7 @@ func execTshark(html string, filename string, proto string, port int) {
//if err1 != nil {
// fmt.Println("write html failed")
//}else {
//xsltproc pdml2html.xsl ngap.pdml > /home/manager/ngap.html
//xsltproc pdml2html.xsl ngap.pdml > /home/omcuser/ngap.html
command := fmt.Sprintf("xsltproc /usr/local/omc/etc/schema/pdml2html.xsl %s > %s", pdmlFile, html)
dest := exec.Command("sh", "-c", command)
_, err2 := dest.Output()