Use pipe functions from /bin
This commit is contained in:
parent
5d95857a29
commit
c16b9cbba4
2 changed files with 3 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ grep_fn(cligen_handle h,
|
|||
if ((cv = cvec_find_var(cvv, name)) != NULL)
|
||||
cprintf(cb, "%s", cv_string_get(cv));
|
||||
}
|
||||
retval = execl("/usr/bin/grep", "grep", "-e", cbuf_get(cb), (char *) NULL);
|
||||
retval = execl("/bin/grep", "grep", "-e", cbuf_get(cb), (char *) NULL);
|
||||
}
|
||||
done:
|
||||
if (cb)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue