Stop using TRUE and FALSE for exit status.
diff --git a/procps/free.c b/procps/free.c
index a33fa9a..f2e746e 100644
--- a/procps/free.c
+++ b/procps/free.c
@@ -60,7 +60,7 @@
printf("%6s%13ld%13ld%13ld\n", "Total:", info.totalram+info.totalswap,
(info.totalram-info.freeram)+(info.totalswap-info.freeswap),
info.freeram+info.freeswap);
- return(TRUE);
+ return EXIT_SUCCESS;
}
diff --git a/procps/kill.c b/procps/kill.c
index 7ade822..dd5ca49 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -158,7 +158,7 @@
}
}
fprintf(stderr, "\n\n");
- exit(TRUE);
+ return EXIT_SUCCESS;
}
break;
case '-':
@@ -236,11 +236,12 @@
* upon exit, so we can save a byte or two */
argv++;
}
- exit (all_found);
+ if (all_found == FALSE)
+ return EXIT_FAILURE;
}
#endif
- exit(TRUE);
+ return EXIT_SUCCESS;
end:
diff --git a/procps/ps.c b/procps/ps.c
index df32161..4998e15 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -183,7 +183,7 @@
fprintf(stdout, "\n");
}
closedir(dir);
- return(TRUE);
+ return EXIT_SUCCESS;
}
diff --git a/procps/uptime.c b/procps/uptime.c
index fe4e48c..159f24b 100644
--- a/procps/uptime.c
+++ b/procps/uptime.c
@@ -70,5 +70,5 @@
LOAD_INT(info.loads[1]), LOAD_FRAC(info.loads[1]),
LOAD_INT(info.loads[2]), LOAD_FRAC(info.loads[2]));
- return(TRUE);
+ return EXIT_SUCCESS;
}