From 1f7eab2c23ec662a1ad44df5596a9f77b4a192c8 Mon Sep 17 00:00:00 2001 From: Konstantin Osipov <kostja@tarantool.org> Date: Fri, 22 Nov 2013 23:40:15 +0400 Subject: [PATCH] gh-59: fix FreeBSD and other POSIX systems. --- client/tarantool/tc_pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tarantool/tc_pager.c b/client/tarantool/tc_pager.c index 49c77e61fd..a97b50dc00 100644 --- a/client/tarantool/tc_pager.c +++ b/client/tarantool/tc_pager.c @@ -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)); -- GitLab