Author: gahr (ports committer) Date: Wed Mar 20 10:09:38 2019 New Revision: 345320 URL: https://svnweb.freebsd.org/changeset/base/345320
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/12/usr.sbin/freebsd-update/freebsd-update.sh Directory Properties: stable/12/ (props changed) Modified: stable/12/usr.sbin/freebsd-update/freebsd-update.sh ============================================================================== --- stable/12/usr.sbin/freebsd-update/freebsd-update.sh Wed Mar 20 10:06:44 2019 (r345319) +++ stable/12/usr.sbin/freebsd-update/freebsd-update.sh Wed Mar 20 10:09:38 2019 (r345320) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"