Use pipe functions from /bin

This commit is contained in:
Olof hagsand 2023-07-03 20:20:34 +02:00
parent 5d95857a29
commit c16b9cbba4
2 changed files with 3 additions and 3 deletions

View file

@ -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)