Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2019 20:50:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 240757] freebsd-update: Add upgradesready and showconfig commands, new exit codes
Message-ID:  <bug-240757-227-bIhshUjxDB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240757-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240757-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240757

--- Comment #1 from commit-hook@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 pendi=
ng
  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 pha=
se
  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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240757-227-bIhshUjxDB>