svn commit: r275650 - head/usr.sbin/mtree
Simon J. Gerraty
sjg at FreeBSD.org
Tue Dec 9 19:50:51 UTC 2014
Author: sjg
Date: Tue Dec 9 19:50:50 2014
New Revision: 275650
URL: https://svnweb.freebsd.org/changeset/base/275650
Log:
-u and -U are supposed to affect existing files too.
Reviewed by: marcel
Modified:
head/usr.sbin/mtree/verify.c
Modified: head/usr.sbin/mtree/verify.c
==============================================================================
--- head/usr.sbin/mtree/verify.c Tue Dec 9 18:03:25 2014 (r275649)
+++ head/usr.sbin/mtree/verify.c Tue Dec 9 19:50:50 2014 (r275650)
@@ -233,7 +233,7 @@ miss(NODE *p, char *tail)
miss(p->child, tp + 1);
*tp = '\0';
- if (!create)
+ if (!create && !uflag)
continue;
if (chown(path, p->st_uid, p->st_gid) == -1) {
serr = errno;
More information about the svn-src-all
mailing list