commit | 0d469de9a03f2f587ba2c6323b9706b689e6f599 | [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 | 1db3789252342c5bfd34d889792866c3b4357b0c [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>