projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
397137b
)
setiles: cosmetics, no real code changes
author
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 23 Jul 2007 14:05:02 +0000
(14:05 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 23 Jul 2007 14:05:02 +0000
(14:05 -0000)
selinux/setfiles.c
patch
|
blob
|
history
diff --git
a/selinux/setfiles.c
b/selinux/setfiles.c
index 42207fcfbf288bd8af08727bc09b5abdd5ab254e..cadec83679d2984698dc44b6cba3a39666a327ea 100644
(file)
--- 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) {