forked from pool/mdadm
25 lines
487 B
Plaintext
25 lines
487 B
Plaintext
|
|
||
|
Fix parsing of mdmon args.
|
||
|
The conversion to use getopt_long added an incorrect assignment to
|
||
|
container_name.
|
||
|
This causes "mdmon --all --takeover" to fail.
|
||
|
|
||
|
bnc#767150
|
||
|
|
||
|
Signed-off-by: NeilBrown <neilb@suse.de>
|
||
|
|
||
|
---
|
||
|
mdmon.c | 1 -
|
||
|
1 file changed, 1 deletion(-)
|
||
|
|
||
|
--- mdadm-3.2.5.orig/mdmon.c
|
||
|
+++ mdadm-3.2.5/mdmon.c
|
||
|
@@ -306,7 +306,6 @@ int main(int argc, char *argv[])
|
||
|
all = 1;
|
||
|
break;
|
||
|
case 't':
|
||
|
- container_name = optarg;
|
||
|
takeover = 1;
|
||
|
break;
|
||
|
case OffRootOpt:
|