This commit is contained in:
Ricardo.Cui
2021-02-02 10:46:06 +08:00
parent 12289e3307
commit 6641851b6a

View File

@ -128,7 +128,7 @@ class Kernel(BaseComponent):
if status != 0:
raise Exception(ErrorCode.GAUSS_516["GAUSS_51610"] %
"instance" + " Error: \n%s." % output)
if output.find("No such process"):
if output.find("No such process") > 0:
GaussLog.exitWithError(output)
def isPidFileExist(self):