aboutsummaryrefslogtreecommitdiffstats
path: root/tools/yardstick-img-modify
diff options
context:
space:
mode:
Diffstat (limited to 'tools/yardstick-img-modify')
-rwxr-xr-xtools/yardstick-img-modify2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/yardstick-img-modify b/tools/yardstick-img-modify
index c28e2ad59..0033383ef 100755
--- a/tools/yardstick-img-modify
+++ b/tools/yardstick-img-modify
@@ -153,7 +153,7 @@ cleanup() {
mount | grep $mountdir && umount $mountdir
mount | grep "/mnt/vivid" && umount "/mnt/vivid"
if [ -f $raw_imgfile ]; then
- kpartx -dv $raw_imgfile || true
+ kpartx -dv $raw_imgfile
fi
rm -f $raw_imgfile
rm -rf $mountdir