]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: use EXIT_SUCCESS for -l option
authorDavidlohr Bueso <dave@gnu.org>
Sun, 3 Jun 2012 18:15:30 +0000 (20:15 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 6 Jun 2012 08:41:38 +0000 (10:41 +0200)
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
fdisk/fdisk.c

index a57dec22b2fe34040fc9a6f9368222fc42c4ac1c..190b21061b13aaa9f4f66942e0a503cff0d943a4 100644 (file)
@@ -2124,7 +2124,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) {