zdtm/cr_veth: use the --clean alias of the cleanup action

Submitted by Andrei Vagin on Oct. 28, 2016, 5:52 a.m.

Details

Message ID 1477633969-2276-1-git-send-email-avagin@openvz.org
State Superseded
Series "zdtm/cr_veth: use the --clean alias of the cleanup action"
Headers show

Commit Message

Andrei Vagin Oct. 28, 2016, 5:52 a.m.
From: Andrei Vagin <avagin@virtuozzo.com>

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

Patch hide | download patch | download mbox

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

Comments

Pavel Emelianov Oct. 28, 2016, 10:50 a.m.
Applied, thanks