diff options
-rw-r--r-- | .github/workflows/freebsd.yml | 2 | ||||
-rw-r--r-- | parse.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 945be19..c05ef7a 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -4,6 +4,8 @@ on: [push, pull_request] jobs: build: + if: github.event.pull_request.head.repo.full_name == github.repository + runs-on: ubuntu-latest steps: @@ -2494,7 +2494,7 @@ static struct expr *parse_xdev(struct parser_state *state, int arg1, int arg2) { */ static CFILE *launch_pager(pid_t *pid, CFILE *cout) { char *pager = getenv("PAGER"); - if (!pager) { + if (!pager || !pager[0]) { pager = "more"; } |