[CRIU] [PATCH] zdtm/cr_veth: use the --clean alias of the cleanup action

Andrei Vagin avagin at openvz.org
Thu Oct 27 22:52:49 PDT 2016


From: Andrei Vagin <avagin at virtuozzo.com>

Signed-off-by: Andrei Vagin <avagin at virtuozzo.com>
---
 test/zdtm/static/cr_veth.hook | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/zdtm/static/cr_veth.hook b/test/zdtm/static/cr_veth.hook
index 9c5ca81..d04da59 100755
--- a/test/zdtm/static/cr_veth.hook
+++ b/test/zdtm/static/cr_veth.hook
@@ -28,7 +28,7 @@ elif [ "$1" == "--post-restore" ]; then
 	fi
 
 	echo "Device OK"
-elif [ "$1" == "--pre-restore" -o "$1" == "--cleanup" ]; then
+elif [ "$1" == "--pre-restore" -o "$1" == "--clean" ]; then
 	# Wait for the link to die
 	while ip l l zdtmvthh0 ; do
 		true
-- 
2.7.4



More information about the CRIU mailing list