[Bug 194547] New: [patch] freebsd-update(8) do no invoke $PAGER with empty output

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 23 08:55:24 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194547

            Bug ID: 194547
           Summary: [patch] freebsd-update(8) do no invoke $PAGER with
                    empty output
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: tgyurci at gmail.com

Created attachment 148574
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148574&action=edit
freebsd-update $PAGER patch

freebsd-update(8) utility shows the updatable/deletable etc. files at the fetch
stage. This list is displayed using the $PAGER, even when there is no change.
This is unnoticeable with more but, when the user sets less as the $PAGER then
several empty pages are displayed.

This patch changes the freebsd-update script to invoke $PAGER only if there are
displayable information.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list