Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Aug 2017 16:24:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 190660] freebsd-update(8) erroneous message when "fetch install" used
Message-ID:  <bug-190660-8-746rqwssrv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-190660-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-190660-8@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=3D190660

--- Comment #6 from Ed Maste <emaste@freebsd.org> ---
> The real question here is, should `install` return 0 or 1 (currently 1) if
> there's nothing to install?

In my opinion doing nothing when there's nothing to install is not an error=
, so
should return 0.

It would be nice to omit the "Run '/usr/sbin/freebsd-update fetch' first."
message when run as a a single freebsd-update invocation. The "no updates"
messages are still accurate and fine, IMO.

--=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-190660-8-746rqwssrv>