Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'procps/pgrep.c')
-rw-r--r--procps/pgrep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/procps/pgrep.c b/procps/pgrep.c
index f08d6cc5f..e7fc5bdb3 100644
--- a/procps/pgrep.c
+++ b/procps/pgrep.c
@@ -118,6 +118,7 @@ int pgrep_main(int argc ATTRIBUTE_UNUSED, char **argv)
while (i) {
if (!cmd[i]) cmd[i] = ' ';
i--;
+ }
}
/* NB: OPT_INVERT is always 0 or 1 */
if ((regexec(&re_buffer, cmd, 1, re_match, 0) == 0 /* match found */