2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Fix #UNCOMMENTOENABLEDEBUGPORT# replacement

This commit is contained in:
GONG Jie 2019-03-21 16:02:03 +08:00
parent 2386723ddd
commit d4715d2745

View File

@ -394,7 +394,7 @@ sub subvars {
$inc =~ s/#COLONHTTPPORT#/$httpportsuffix/eg;
if (($::XCATSITEVALS{xcatdebugmode} eq "1") or ($::XCATSITEVALS{xcatdebugmode} eq "2")) {
$inc =~ s/#UNCOMMENTOENABLEDEBUGPORT#/ /g;
$inc =~ s/#UNCOMMENTOENABLEDEBUGPORT#//g;
}
if ($::XCATSITEVALS{xcatdebugmode} eq "2") {