commit | 283260505dd30401c4f5ba7578c622b1d944c646 | [log] [tgz] |
---|---|---|
author | Sandeep Patil <sspatil@google.com> | Mon Jul 23 14:50:26 2018 -0700 |
committer | Sandeep Patil <sspatil@google.com> | Mon Jul 23 14:50:26 2018 -0700 |
tree | 5b4b7580e7ec5d3be0d8ba8b5b9c00432d1d6ae6 | |
parent | 20f160df2bdcd7185a7d771083c9c40fd3b573ad [diff] |
dmctl: Do not skip argument if not matched with '-ro'. 'dmctl create' command would fail if '-ro' flag is not used. This happend because the argument in place of '-ro' is skipped unconditionally. Bug: 72722987 Test: $ losetup /dev/block/loop0 fs.img $ dmctl create FOO linear 0 25600 /dev/block/loop0 0 Change-Id: I3f6264336b9c9a1b5de76f3a1d29e6045453f9cb Signed-off-by: Sandeep Patil <sspatil@google.com>