util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] blkid: use symbolic exit code
@ 2012-05-16  8:38 Petr Uzel
  2012-05-16  8:38 ` [PATCH 2/2] blkid: introduce symbolic names for different blkid exit codes Petr Uzel
  2012-05-23  7:45 ` [PATCH 1/2] blkid: use symbolic exit code Karel Zak
  0 siblings, 2 replies; 10+ messages in thread
From: Petr Uzel @ 2012-05-16  8:38 UTC (permalink / raw)
  To: util-linux


Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
---
 misc-utils/blkid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/misc-utils/blkid.c b/misc-utils/blkid.c
index 8007840..4f7050f 100644
--- a/misc-utils/blkid.c
+++ b/misc-utils/blkid.c
@@ -720,7 +720,7 @@ int main(int argc, char **argv)
 
 			while (blkid_superblocks_get_name(idx++, &name, NULL) == 0)
 				printf("%s\n", name);
-			exit(0);
+			exit(EXIT_SUCCESS);
 		}
 		case 'o':
 			if (!strcmp(optarg, "value"))
-- 
1.7.7


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

end of thread, other threads:[~2012-05-23  7:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16  8:38 [PATCH 1/2] blkid: use symbolic exit code Petr Uzel
2012-05-16  8:38 ` [PATCH 2/2] blkid: introduce symbolic names for different blkid exit codes Petr Uzel
2012-05-16  8:52   ` Voelker, Bernhard
2012-05-16  9:24     ` Petr Uzel
2012-05-16 10:13       ` Karel Zak
2012-05-16 11:18         ` Voelker, Bernhard
2012-05-17  7:37         ` [PATCH] blkid: stop device probing if error is detected Petr Uzel
2012-05-23  7:46           ` Karel Zak
2012-05-23  7:46   ` [PATCH 2/2] blkid: introduce symbolic names for different blkid exit codes Karel Zak
2012-05-23  7:45 ` [PATCH 1/2] blkid: use symbolic exit code Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).