Linux RAID subsystem development
 help / color / mirror / Atom feed
* [PATCH] mdadm: Send version text to stdout rather than stderr
@ 2017-06-06  7:59 Zhilong Liu
  2017-06-07  1:44 ` NeilBrown
  0 siblings, 1 reply; 4+ messages in thread
From: Zhilong Liu @ 2017-06-06  7:59 UTC (permalink / raw)
  To: Jes.Sorensen; +Cc: linux-raid, Zhilong Liu

This helps with piping to a paper.

Signed-off-by: Zhilong Liu <zlliu@suse.com>
---
 mdadm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mdadm.c b/mdadm.c
index 70b16f2..0f736d7 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -139,7 +139,7 @@ int main(int argc, char *argv[])
 			continue;
 
 		case 'V':
-			fputs(Version, stderr);
+			fputs(Version, stdout);
 			exit(0);
 
 		case 'v': c.verbose++;
-- 
2.6.6


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-07 15:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-06  7:59 [PATCH] mdadm: Send version text to stdout rather than stderr Zhilong Liu
2017-06-07  1:44 ` NeilBrown
2017-06-07  2:11   ` Zhilong Liu
2017-06-07 15:21   ` Jes Sorensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox