Skip to content
Snippets Groups Projects
Commit 1f7eab2c authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

gh-59: fix FreeBSD and other POSIX systems.

parent 6a31e65b
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ void tc_pager_start() {
return;
}
int pipefd[2];
const char *const argv[] = {"/bin/bash", "-c", tc.opt.pager, NULL};
const char *const argv[] = {"/bin/sh", "-c", tc.opt.pager, NULL};
if (pipe(pipefd) < 0)
tc_error("Failed to open pipe. Errno: %s", strerror(errno));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment