svn commit: r345322 - stable/11/usr.sbin/freebsd-update
Pietro Cerutti
gahr at FreeBSD.org
Wed Mar 20 10:20:49 UTC 2019
Author: gahr (ports committer)
Date: Wed Mar 20 10:20:48 2019
New Revision: 345322
URL: https://svnweb.freebsd.org/changeset/base/345322
Log:
MFC r34505: freebsd-update: restore old exit code when no updates are available
locally
This unbreaks ezjail and iocell, which get into an endless loop trying to
figure out how many times "freebsd-update install" needs to be called.
PR: 229346
Submitted by: Mike Cole <mcole36 at gmail.com>
Approved by: bapt
Modified:
stable/11/usr.sbin/freebsd-update/freebsd-update.sh
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.sbin/freebsd-update/freebsd-update.sh
==============================================================================
--- stable/11/usr.sbin/freebsd-update/freebsd-update.sh Wed Mar 20 10:11:21 2019 (r345321)
+++ stable/11/usr.sbin/freebsd-update/freebsd-update.sh Wed Mar 20 10:20:48 2019 (r345322)
@@ -818,6 +818,7 @@ install_check_params () {
echo "No updates are available to install."
if [ $ISFETCHED -eq 0 ]; then
echo "Run '$0 fetch' first."
+ exit 1
fi
exit 0
fi
More information about the svn-src-stable
mailing list