[Bug 240757] freebsd-update: Add upgradesready and showconfig commands, new exit codes

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 24 20:50:20 UTC 2019


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

--- Comment #1 from commit-hook at freebsd.org ---
A commit references this bug:

Author: grembo
Date: Tue Sep 24 20:49:33 UTC 2019
New revision: 352662
URL: https://svnweb.freebsd.org/changeset/base/352662

Log:
  freebsd-update: Add `updatesready' and `showconfig' commands

  `freebsd-update updatesready' can be used to check if there are any pending
  fetched updates that can be installed.

  `freebsd-update showconfig' writes freebsd-update's configuration to
  stdout.

  This also changes the exit code of `freebsd-update install' to 2 in case
  there are no updates pending to be installed and there wasn't a fetch phase
  in the same invocation. This allows scripts to tell apart these error
  conditions without breaking existing jail managers.

  See freebsd-update(8) for details.

  PR:           240757, 240177, 229346
  Reviewed by:  manpages (bcr), sectam (emaste), yuripv
  Differential Revision:        https://reviews.freebsd.org/D21473

Changes:
  head/usr.sbin/freebsd-update/freebsd-update.8
  head/usr.sbin/freebsd-update/freebsd-update.sh

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


More information about the freebsd-bugs mailing list