diff options
author | Denis Vlasenko | 2007-07-23 14:05:02 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-07-23 14:05:02 +0000 |
commit | 9fe9c1a6d8e66032a9783f98606167764e8ab296 (patch) | |
tree | 73412e75633cb572d592331424b7e0c2cd2dab99 /selinux/setfiles.c | |
parent | 397137b8158298cae14efae330abc57ba11630a5 (diff) | |
download | busybox-9fe9c1a6d8e66032a9783f98606167764e8ab296.zip busybox-9fe9c1a6d8e66032a9783f98606167764e8ab296.tar.gz |
setiles: cosmetics, no real code changes
Diffstat (limited to 'selinux/setfiles.c')
-rw-r--r-- | selinux/setfiles.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/selinux/setfiles.c b/selinux/setfiles.c index 42207fc..cadec83 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 <ynakam@hitachisoft.jp> + Port to BusyBox (c) 2007 by Yuichi Nakamura <ynakam@hitachisoft.jp> */ #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) { |