diff options
author | NeilBrown <neilb@suse.de> | 2010-02-24 11:43:59 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-02-24 11:43:59 +1100 |
commit | 4c1c3ad8cf69763a4c8c4ba692a8cb93327a4abf (patch) | |
tree | 6814b4f8b3c115bce5cdaf6428e14dea5008439c /ANNOUNCE-3.0.3 | |
parent | a31128d2de3c3b60e6cbcceef391479ad3c0cfb4 (diff) | |
download | mdadm-4c1c3ad8cf69763a4c8c4ba692a8cb93327a4abf.tar.gz mdadm-4c1c3ad8cf69763a4c8c4ba692a8cb93327a4abf.tar.xz mdadm-4c1c3ad8cf69763a4c8c4ba692a8cb93327a4abf.zip |
Assemble: check inargv before complaining about stray arguments.
If --assemble is given a container and some other devices to assemble
an array from, it complains with an error because that doesn't make
sense.
However it currently also complains if the list of devices was extract
from the config file rather than being given on the command line.
That is not appropriate.
So add an '&& inargv' test to ensure that we are really complaining
about the right thing.
Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'ANNOUNCE-3.0.3')
0 files changed, 0 insertions, 0 deletions