]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - config.c
config: set "auto_seen" after processing the auto line.
[thirdparty/mdadm.git] / config.c
index f1a70c59f971575212a2c4d1937f6c586316b6f1..a35807ccae3510e3620aa5a6426d4ef4ee2804f4 100644 (file)
--- a/config.c
+++ b/config.c
@@ -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.
         *