Commit 456884ea authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

zdtm.sh: exit with zero in case of success

A bash script exits with code of a last command,
so zdtm.sh return 1 if TMP_TREE is not initialized.
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 64706655
......@@ -469,4 +469,4 @@ else
fi
fi
[ -n "$TMP_TREE" ] && rm -rf $TMP_TREE
[ -n "$TMP_TREE" ] && rm -rf $TMP_TREE || exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment