[CRIU] [PATCH] zdtm: exit with the zero code if everything is ok

Andrey Vagin avagin at openvz.org
Wed Aug 14 06:08:10 EDT 2013


Cc: Yicheng Qin <yichengq at google.com>
Signed-off-by: Andrey Vagin <avagin at openvz.org>
---
 test/zdtm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm.sh b/test/zdtm.sh
index ca8acc8..f6065d3 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -724,4 +724,4 @@ else
 fi
 
 [ -n "$TMP_TREE" ] && rm -rf $TMP_TREE
-[ -n "$ZDTM_FAILED" ] && exit 1
+[ -n "$ZDTM_FAILED" ] && exit 1 || exit 0
-- 
1.8.3.1



More information about the CRIU mailing list