]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
blkid: use symbolic exit code
authorPetr Uzel <petr.uzel@suse.cz>
Wed, 16 May 2012 08:38:31 +0000 (10:38 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 23 May 2012 07:43:50 +0000 (09:43 +0200)
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
misc-utils/blkid.c

index 800784005fa77343c8e7687d5f73fbe2a7c8c329..4f7050f62eb9e6240be0a683b361d666e11ba78c 100644 (file)
@@ -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"))