[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST v5 17/24] standalone: propagate result of command from with_logging



Such that the overall script gets the return code of the test/job
which was run.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 standalone | 1 +
 1 file changed, 1 insertion(+)

diff --git a/standalone b/standalone
index d8113e4..4564cf4 100755
--- a/standalone
+++ b/standalone
@@ -159,6 +159,7 @@ with_logging() {
     if [ $rc -ne 0 ] ; then
        echo "FAILED rc=${rc}" >&2
     fi
+    return $rc
 }
 
 # other potential ops:
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.