From: Denis Vlasenko Date: Mon, 23 Jul 2007 14:05:02 +0000 (-0000) Subject: setiles: cosmetics, no real code changes X-Git-Tag: 1_7_0~107 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9fe9c1a6d8e66032a9783f98606167764e8ab296;p=oweals%2Fbusybox.git setiles: cosmetics, no real code changes --- diff --git a/selinux/setfiles.c b/selinux/setfiles.c index 42207fcfb..cadec8367 100644 --- a/selinux/setfiles.c +++ b/selinux/setfiles.c @@ -1,7 +1,7 @@ /* setfiles: based on policycoreutils 2.0.19 policycoreutils was released under GPL 2. - Port to BusyBox by 2007 Yuichi Nakamura + Port to BusyBox (c) 2007 by Yuichi Nakamura */ #include "libbb.h" @@ -182,10 +182,8 @@ static int match(const char *name, struct stat *sb, char **con) char path[PATH_MAX + 1]; char *tmp_path = xstrdup(name); - if (excludeCtr > 0) { - if (exclude(name)) { - goto err; - } + if (excludeCtr > 0 && exclude(name)) { + goto err; } ret = lstat(name, sb); if (ret) {