]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r364396: Unbreak `freebsd-update updatesready'.
authorMichael Gmelin <grembo@FreeBSD.org>
Wed, 26 Aug 2020 17:15:17 +0000 (17:15 +0000)
committerMichael Gmelin <grembo@FreeBSD.org>
Wed, 26 Aug 2020 17:15:17 +0000 (17:15 +0000)
commit56842e188ccc6d8c0c8b2455ba981d10a110bfad
tree158ce3bfebb08606d89ff6666feffd33d49dd3ad
parent34f9e604294e0d500f2b040e65c1b5d2f6b0c2aa
MFC r364396: Unbreak `freebsd-update updatesready'.

The command would only work if PWD happened to be WORKDIR.
Also, exit 1 in case WORKDIR exists, but isn't accessible
by the current user.

PR: 242709
Reported by: Max Fiedler
usr.sbin/freebsd-update/freebsd-update.sh