From 9f28039bf2878200f34c764d487b6631283696b6 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Thu, 4 Mar 2010 12:35:20 +0000 Subject: [PATCH] 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 --- usr.bin/chpass/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile index 7f7ac510c6bc..a5571d72ffba 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