diff options
author | NeilBrown <neilb@suse.de> | 2013-09-10 17:10:10 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-09-10 17:10:10 +1000 |
commit | dbdf3f15e7ed9d5462a6ece09dd1c57ca430d912 (patch) | |
tree | 1a1b1c49beb2b09d734e2a6a2a3bae7ce2cbec21 /config.c | |
parent | 1c0aebc2bec4d8e7e575c4222600826de3f1b73e (diff) |
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>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. * |