diff options
author | NeilBrown <neilb@suse.de> | 2012-07-09 08:50:22 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-09 08:50:22 +0200 |
commit | 7a0bfa2d553861d39077153f9d987e8028bebf02 (patch) | |
tree | 012933a256facbbdb64ad82d1eab40aefbba8e28 /mdmon.c | |
parent | Monitor: fix reporting for Fail vs FailSpare etc. (diff) | |
download | mdadm-7a0bfa2d553861d39077153f9d987e8028bebf02.tar.xz mdadm-7a0bfa2d553861d39077153f9d987e8028bebf02.zip |
mdmon: fix arg parsing.
-t aka --takeover should not be setting container_name.
It sets it to NULL which causes failure when you try
mdmon --all --takeover
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.c')
-rw-r--r-- | mdmon.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -306,7 +306,6 @@ int main(int argc, char *argv[]) all = 1; break; case 't': - container_name = optarg; takeover = 1; break; case OffRootOpt: |