diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-08-03 16:59:09 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-11-03 15:24:56 +0100 |
commit | 384c2c3239c51b7bdaddc7cbd4958b5b923cce42 (patch) | |
tree | 9483260b04da956876f951ff39476872b3dc9083 /src/cgls | |
parent | 028f7d3ac6570ddf41a34ba9741798ef777ddacc (diff) | |
download | systemd-384c2c3239c51b7bdaddc7cbd4958b5b923cce42.tar.gz |
Make pager_open() return void
Diffstat (limited to 'src/cgls')
-rw-r--r-- | src/cgls/cgls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgls/cgls.c b/src/cgls/cgls.c index e2c746f7e7..e5333648bf 100644 --- a/src/cgls/cgls.c +++ b/src/cgls/cgls.c @@ -191,8 +191,8 @@ static int run(int argc, char *argv[]) { if (r <= 0) return r; - r = pager_open(arg_pager_flags); - if (r > 0 && arg_full < 0) + pager_open(arg_pager_flags); + if (arg_full < 0 && pager_have()) arg_full = true; if (arg_full > 0) |