summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRex Lee <limingjiang@huawei.com>2016-12-15 09:00:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-15 09:00:33 +0000
commitcc337e939dd07f51d9d414cc91e312ff139a8d2d (patch)
treedc399f7568c52d8aad01177069e7feb43936f6c6
parentcfab5a5644de0013928a27f32c7555380091d01e (diff)
parent70fae94c0d6157de5640db92f18ac95224affb5f (diff)
Merge "Bugfixed:run command: "yardstick-img-modify" fail!"
-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