diff options
-rw-r--r-- | px.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/px.c b/px.c index bd2537a..5776476 100644 --- a/px.c +++ b/px.c @@ -50,7 +50,7 @@ main(int argc, char *argv[]) for (; *result; result++) { proc_t *p = *result; - if (argc > 0) { + if (argc > 1) { for (int i = 1; i < argc; i++) if (strstr(p->cmd, argv[i])) goto match; |