config: set "auto_seen" after processing the auto line.

Otherwise when we process an empty autoline (to be sure to
capture the MDADM_CONF_AUTO environment variable) we can end up
setting everything to 'yes' which over-rides 'no'.

Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
NeilBrown 2013-09-10 17:10:10 +10:00
parent 1c0aebc2be
commit dbdf3f15e7
1 changed files with 1 additions and 0 deletions

View File

@ -575,6 +575,7 @@ void autoline(char *line)
if (auto_seen)
return;
auto_seen = 1;
/* Parse the 'auto' line creating policy statements for the 'auto' policy.
*