]> sourceware.org Git - lvm2.git/commitdiff
tests: notify drops log always
authorZdenek Kabelac <zkabelac@redhat.com>
Wed, 22 Apr 2015 07:01:49 +0000 (09:01 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 22 Apr 2015 07:09:26 +0000 (09:09 +0200)
Even on success remove debug.log here.

test/lib/aux.sh

index 55dd60b7333176e6155a69df6b07abfa336feb3a..737050d51008940f549e9382644ae4cb64f14776 100644 (file)
@@ -124,7 +124,9 @@ lvmetad_dump() {
 
 notify_lvmetad() {
        if test -e LOCAL_LVMETAD; then
-               LVM_LOG_FILE_EPOCH= pvscan --cache "$@" || rm -f debug.log
+               # Ignore results here...
+               LVM_LOG_FILE_EPOCH= pvscan --cache "$@" || true
+               rm -f debug.log
        fi
 }
 
This page took 0.036805 seconds and 5 git commands to generate.