setiles: cosmetics, no real code changes
This commit is contained in:
parent
397137b815
commit
9fe9c1a6d8
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
setfiles: based on policycoreutils 2.0.19
|
setfiles: based on policycoreutils 2.0.19
|
||||||
policycoreutils was released under GPL 2.
|
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"
|
#include "libbb.h"
|
||||||
@ -182,10 +182,8 @@ static int match(const char *name, struct stat *sb, char **con)
|
|||||||
char path[PATH_MAX + 1];
|
char path[PATH_MAX + 1];
|
||||||
char *tmp_path = xstrdup(name);
|
char *tmp_path = xstrdup(name);
|
||||||
|
|
||||||
if (excludeCtr > 0) {
|
if (excludeCtr > 0 && exclude(name)) {
|
||||||
if (exclude(name)) {
|
goto err;
|
||||||
goto err;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
ret = lstat(name, sb);
|
ret = lstat(name, sb);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
Loading…
Reference in New Issue
Block a user