Skip to content

Commit 341ae26

Browse files
author
Shakeel Mohamed
committed
Merge branch 'bugfix/DVPL-6745' into develop
2 parents 089841a + 7849b3b commit 341ae26

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

splunklib/searchcommands/external_search_command.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,9 @@ def terminate_child():
142142
p.wait()
143143

144144
logger.debug('finished command="%s", arguments=%s, pid=%d, returncode=%d', path, argv, p.pid, p.returncode)
145-
sys.exit(p.returncode)
145+
146+
if p.returncode != 0:
147+
sys.exit(p.returncode)
146148

147149
@staticmethod
148150
def _search_path(executable, paths):

0 commit comments

Comments
 (0)