pidof: minor fixes

Adding forgotten --check-root switch. Removing uneeded headers.
This commit is contained in:
Jaromir Capik 2013-10-07 18:17:19 +02:00
parent afe862ebe4
commit 91939c23dc

View File

@ -26,9 +26,6 @@
#include "nls.h"
#include "xalloc.h"
#include "proc/readproc.h"
#include "proc/sig.h"
#include "proc/devname.h"
#include "proc/sysinfo.h"
#include "proc/version.h" /* procps_version */
@ -284,6 +281,7 @@ int main (int argc, char **argv)
const char *opts = "scnxmo:?Vh";
static const struct option longopts[] = {
{"check-root", no_argument, NULL, 'c'},
{"single-shot", no_argument, NULL, 's'},
{"omit-pid", required_argument, NULL, 'o'},
{"help", no_argument, NULL, 'h'},