- fix typo
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 5 Sep 2008 15:23:53 +0000 (15:23 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 5 Sep 2008 15:23:53 +0000 (15:23 -0000)
procps/pgrep.c

index f08d6cc5f81d0ddc6d62ca9a6b102537dd13300f..e7fc5bdb3cc011f242ddcc73dbe1a2bd5b33bab5 100644 (file)
@@ -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 */