fix: 网元安装命令输出后缀检查逻辑
This commit is contained in:
1 parent
4fdf2939ad
commit
32616ed2be
1 file changed
+1
-1
@@ -661,7 +661,7 @@ func (r NeVersion) operateRun(preinput map[string]string, cmdStrArr []string, ne
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !suffix {
|
if !suffix {
|
||||||
suffix = strings.LastIndex(outputStr, "~# ") != -1
|
suffix = strings.LastIndex(outputStr, "# ") != -1
|
||||||
}
|
}
|
||||||
if len(cmdStrArr) > 0 && suffix {
|
if len(cmdStrArr) > 0 && suffix {
|
||||||
if firstRead {
|
if firstRead {
|
||||||
|
|||||||
Reference in new issue
Block a user