diff options
author | Rex Lee <limingjiang@huawei.com> | 2016-12-15 09:00:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-15 09:00:33 +0000 |
commit | cc337e939dd07f51d9d414cc91e312ff139a8d2d (patch) | |
tree | dc399f7568c52d8aad01177069e7feb43936f6c6 | |
parent | cfab5a5644de0013928a27f32c7555380091d01e (diff) | |
parent | 70fae94c0d6157de5640db92f18ac95224affb5f (diff) |
Merge "Bugfixed:run command: "yardstick-img-modify" fail!"
-rwxr-xr-x | tools/yardstick-img-modify | 2 |
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 |