summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2010-03-04 12:35:20 +0000
committerscottl <scottl@FreeBSD.org>2010-03-04 12:35:20 +0000
commit8de589a2ac6846aec04faefdf7d60875d1eeb8cd (patch)
tree84035657a7a194b2dbec35f26deb97efcb3b366b /usr.bin/chpass
parent3d8331455e296b82ad2e822611d0d3e165d56be8 (diff)
downloadFreeBSD-src-8de589a2ac6846aec04faefdf7d60875d1eeb8cd.zip
FreeBSD-src-8de589a2ac6846aec04faefdf7d60875d1eeb8cd.tar.gz
Let the afterinstall target ignore failures from running chflags. This
allows it to work over NFS, and puts it back into conformance with other 'schg' utlitilties in the system. Reviewed by: ed
Diffstat (limited to 'usr.bin/chpass')
-rw-r--r--usr.bin/chpass/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 7f7ac51..a5571d7 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -43,7 +43,7 @@ beforeinstall:
.if !defined(NO_FSCHG)
afterinstall:
- chflags schg ${DESTDIR}${BINDIR}/chpass
+ -chflags schg ${DESTDIR}${BINDIR}/chpass
.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud