osmoutil: print return code in end_proc()

Change-Id: If11616be6e9afc85814fa0b494e231cc7530459c
Related: OS#5665
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."""