From d4715d27452e29bb3f4de240aa43409f7c3dbdce Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Thu, 21 Mar 2019 16:02:03 +0800 Subject: [PATCH] Fix #UNCOMMENTOENABLEDEBUGPORT# replacement --- xCAT-server/lib/perl/xCAT/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/Template.pm b/xCAT-server/lib/perl/xCAT/Template.pm index 801581446..0da104fa0 100644 --- a/xCAT-server/lib/perl/xCAT/Template.pm +++ b/xCAT-server/lib/perl/xCAT/Template.pm @@ -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") {