]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Manage.c
Don't silently map --re-add to --add
authorNeilBrown <neilb@suse.de>
Tue, 17 Nov 2009 02:15:34 +0000 (13:15 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 17 Nov 2009 02:15:34 +0000 (13:15 +1100)
commit751fd6c093815e10b2e0d56a920d8ee09ac01c58
tree65b5c8efc7a972028255b879f588f44381f1c552
parentb42f577a0dbe0b232600478f4a5068b2f63a2684
Don't silently map --re-add to --add

As --add can destroy important data on a disk, and
--re-add is not suppose to, it is wrong to silently
try --add if --re-add fails.
So print a message and abort instead.

Signed-off-by: NeilBrown <neilb@suse.de>
Manage.c