Exit with EXIT_SUCCESS/EXIT_FAILURE instead of 0 and 1

Fixed for consistency purposes.
This commit is contained in:
sin
2013-10-07 16:41:55 +01:00
parent ac033652fe
commit b5a511dacf
52 changed files with 67 additions and 60 deletions

View File

@@ -1,4 +1,5 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <ftw.h>
@@ -55,7 +56,7 @@ main(int argc, char **argv)
while(*++argv)
ftw(*argv, chgrp, FOPEN_MAX);
return 0;
return EXIT_SUCCESS;
}
while(*++argv) {
if(stat(*argv, &st) == -1) {