[PATCH 4/5] fdisk: use EXIT_SUCCESS for -l option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Davidlohr Bueso <dave@xxxxxxx>

Signed-off-by: Davidlohr Bueso <dave@xxxxxxx>
---
 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




--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux