1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00

tests: remove debug.log in enable_dev

In aux functions we may drop debug log from
last running lvm command - so we do not
get debug log from properly executed command,
when we fail here.
This commit is contained in:
Zdenek Kabelac 2014-02-11 13:42:03 +01:00
parent 108ae0edc6
commit 4ed831e7ef

View File

@ -393,6 +393,7 @@ disable_dev() {
enable_dev() {
local dev
rm -f debug.log
init_udev_transaction
for dev in "$@"; do
local name=$(echo "$dev" | sed -e 's,.*/,,')