[CRIU] [PATCH 1/2] zdtm: don't ignore hook's errors
Andrew Vagin
avagin at openvz.org
Sat Jun 6 13:44:40 PDT 2015
Signed-off-by: Andrew 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 fbaca11..12c43ee 100755
--- a/test/zdtm.sh
+++ b/test/zdtm.sh
@@ -844,7 +844,7 @@ EOF
if [ -x "${test}.hook" ]; then
echo "Executing cleanup hook"
- "${test}.hook" --clean
+ "${test}.hook" --clean || return 2
fi
if [ -n "$AUTO_DEDUP" ]; then
--
2.4.2
More information about the CRIU
mailing list