From e843d5d7796815471510ddc9367845b876c4435c Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 23 Oct 2006 15:51:26 +1000 Subject: [PATCH] Support --examine --brief --verbose properly Similar to -Esv, this combination should print out the 'devices=' line in the otherwise --breif output. --- mdadm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mdadm.c b/mdadm.c index 41e6c4c5..286df300 100644 --- a/mdadm.c +++ b/mdadm.c @@ -1148,6 +1148,8 @@ int main(int argc, char *argv[]) fprintf(stderr, Name ": No devices listed in %s\n", configfile?configfile:DefaultConfFile); exit(1); } + if (brief && verbose) + brief = 2; rv = Examine(devlist, scan?(verbose>1?0:verbose+1):brief, scan, SparcAdjust, ss, homehost); } else { if (devlist == NULL) { -- 2.39.2