don't annotate stuff with @owner root unless there are mode thingies around.
This commit is contained in:
parent
cc5ae1ec74
commit
3f7613a275
@ -1,5 +1,5 @@
|
||||
#! /usr/bin/perl
|
||||
# $OpenBSD: make-plist,v 1.134 2008/10/30 16:02:14 espie Exp $
|
||||
# $OpenBSD: make-plist,v 1.135 2008/10/30 16:19:23 espie Exp $
|
||||
# Copyright (c) 2004-2008 Marc Espie <espie@openbsd.org>
|
||||
#
|
||||
# Permission to use, copy, modify, and distribute this software for any
|
||||
@ -765,6 +765,10 @@ sub handle_modes
|
||||
$file->owner, ")";
|
||||
}
|
||||
} else {
|
||||
# don't bother copying root for non special modes.
|
||||
if ($mode eq '' && $file->owner eq 'root') {
|
||||
next;
|
||||
}
|
||||
$owner = $o->{name};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user