summaryrefslogtreecommitdiffstats
path: root/usr.bin/chpass
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-11-14 07:13:12 +0000
committerbde <bde@FreeBSD.org>1994-11-14 07:13:12 +0000
commit27506ef37ac78280c40e72195921097911604c0c (patch)
treecfb661ed3e0657593e65d1b700022bca1e1589fa /usr.bin/chpass
parente7c6a4d3492b8f4f4fe9c2a8ab82bf6afee8aa73 (diff)
downloadFreeBSD-src-27506ef37ac78280c40e72195921097911604c0c.zip
FreeBSD-src-27506ef37ac78280c40e72195921097911604c0c.tar.gz
Fix logic in previous commit.
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 31dc84f..d5090da 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -10,7 +10,7 @@ LINKS= ${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS= chpass.1 chfn.1 chpass.1 chsh.1
beforeinstall:
- [ -r /usr/bin/chpass ] && chflags noschg /usr/bin/chpass
+ [ ! -e /usr/bin/chpass ] || chflags noschg /usr/bin/chpass
afterinstall:
chflags schg /usr/bin/chpass
OpenPOWER on IntegriCloud