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@FreeBSD.org
          Reporter: tgyu...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to