fixeria submitted this change.

View Change


Approvals: Jenkins Builder: Verified dexter: Looks good to me, approved
osmoutil: print return code in end_proc()

Change-Id: If11616be6e9afc85814fa0b494e231cc7530459c
Related: OS#5665
---
M osmopy/osmoutil.py
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/osmopy/osmoutil.py b/osmopy/osmoutil.py
index ec9c8c3..ecd88f2 100755
--- a/osmopy/osmoutil.py
+++ b/osmopy/osmoutil.py
@@ -68,7 +68,8 @@
print("Killed child process")
elif waited_time > .002:
print("Terminating took %.3fs" % waited_time)
- proc.wait()
+ rc = proc.wait()
+ print("Process returned code: %d" % rc)


"""Add a directory to sys.path, try to import a config file."""

To view, visit change 32929. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: python/osmo-python-tests
Gerrit-Branch: master
Gerrit-Change-Id: If11616be6e9afc85814fa0b494e231cc7530459c
Gerrit-Change-Number: 32929
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-MessageType: merged