util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/5] fdisk: use EXIT_SUCCESS for -l option
@ 2012-06-03 18:15 Davidlohr Bueso
  0 siblings, 0 replies; only message in thread
From: Davidlohr Bueso @ 2012-06-03 18:15 UTC (permalink / raw)
  To: Karel Zak, Petr Uzel; +Cc: util-linux

From: Davidlohr Bueso <dave@gnu.org>

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
---
 fdisk/fdisk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c
index d8ef14f..baa5bad 100644
--- a/fdisk/fdisk.c
+++ b/fdisk/fdisk.c
@@ -2122,7 +2122,7 @@ int main(int argc, char **argv)
 				print_partition_table_from_option(argv[k], sector_size);
 		} else
 			print_all_partition_table_from_option(sector_size);
-		exit(0);
+		exit(EXIT_SUCCESS);
 	}
 
 	if (opts) {
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-03 18:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-03 18:15 [PATCH 4/5] fdisk: use EXIT_SUCCESS for -l option Davidlohr Bueso

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).