We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee3b05e commit 145c4d3Copy full SHA for 145c4d3
opengrok-tools/src/main/python/opengrok_tools/utils/command.py
@@ -386,13 +386,13 @@ def getretcode(self):
386
return self.returncode
387
388
def getoutputstr(self):
389
- if self.state != Command.FINISHED:
+ if self.state == Command.FINISHED:
390
return "".join(self.out).strip()
391
else:
392
return None
393
394
def getoutput(self):
395
396
return self.out
397
398
0 commit comments