]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Manage: fix no-op test in Manage_stop.
authorNeilBrown <neilb@suse.de>
Wed, 1 Jul 2015 22:16:59 +0000 (08:16 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 1 Jul 2015 22:16:59 +0000 (08:16 +1000)
commit52b6ccad34b1a6c974198f4b90b7ca15089b546d
treed6cd47f76c2d5709bac0c7a36f6bd1909e070eb0
parent9581efb1ae9348ef33d10d781cedde375c0d62c4
Manage: fix no-op test in Manage_stop.

A 'devnm' never starts with '/', so this test is pointless.
The code should use the passed-in devname unless it is clearly
not usable.  So fix it to do that.

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