summaryrefslogtreecommitdiffstats
path: root/Detail.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-06-14 06:34:23 +0000
committerNeil Brown <neilb@suse.de>2005-06-14 06:34:23 +0000
commit22892d5632b454a18be7fb36a82b4c1af691ef66 (patch)
treef3c723ec1101fff5f565fc8ff122361f3375925a /Detail.c
parentb79713f8c103031e10bb41bb552a023a884b2ad4 (diff)
downloadmdadm-22892d5632b454a18be7fb36a82b4c1af691ef66.tar.gz
mdadm-22892d5632b454a18be7fb36a82b4c1af691ef66.tar.xz
mdadm-22892d5632b454a18be7fb36a82b4c1af691ef66.zip
Don't list device= in --examine --scan output.
As the device list isn't stable, recording it should be avoided. The device= list is still available if --verbose is given (once). Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'Detail.c')
-rw-r--r--Detail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Detail.c b/Detail.c
index 370177a..46b483c 100644
--- a/Detail.c
+++ b/Detail.c
@@ -284,7 +284,7 @@ int Detail(char *dev, int brief, int test)
if (super && brief && st)
st->ss->brief_detail_super(super);
- if (brief && devices) printf("\n devices=%s", devices);
+ if (brief > 1 && devices) printf("\n devices=%s", devices);
if (brief) printf("\n");
if (test && (rv&2)) rv &= ~1;
close(fd);