Skip to content
Commit 457a70da authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov
Browse files

zdtm: don't hide errors in cgroup02.hook



rmdir is executed for non-existent directories, so we don't check
an exit code of this operation.

This patch executs rmdir only for existent directories and check
an exit code of rmdir.

Signed-off-by: default avatarAndrey Vagin <avagin@openvz.org>
Acked-by: default avatarTycho Andersen <tycho.andersen@canonical.com>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 02ecc822
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment