]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a -w warning flag to ln(1). When the -w option is enabled,
authorGiorgos Keramidas <keramida@FreeBSD.org>
Fri, 6 Jun 2008 08:27:59 +0000 (08:27 +0000)
committerGiorgos Keramidas <keramida@FreeBSD.org>
Fri, 6 Jun 2008 08:27:59 +0000 (08:27 +0000)
commit3595f21aae2a52512fd713bf4f4de1afdfd2e43c
tree5aa2c4a64221c496c50b6af2d98443e86ef6dc35
parent02ca51529e759587dc2f56aaf29e5cc16c7e3513
Add a -w warning flag to ln(1).  When the -w option is enabled,
ln(1) checks to see if the source of a symlink, i.e. the file it
should point to actually exists.  The default is the old ln
behavior, that does not check, to avoid surprising people who may
be using ln(1) in scripts or other non-interactive places.

PR: bin/7265
Submitted by: Joel Ray Holveck, detlev!joelh at mail.camalott.com
MFC after: 2 weeks
bin/ln/ln.1
bin/ln/ln.c