forked from extern/shorewall_code
Only search files in each CONFIG_PATH directory - no recursion
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
675e41e6a6
commit
377c9f5708
@ -376,7 +376,7 @@ uptodate() {
|
|||||||
IFS=':'
|
IFS=':'
|
||||||
|
|
||||||
for dir in $g_shorewalldir $CONFIG_PATH; do
|
for dir in $g_shorewalldir $CONFIG_PATH; do
|
||||||
if [ -n "$(find ${dir} -newer $1)" ]; then
|
if [ -n "$(find ${dir} -mindepth 1 -maxdepth 1 -newer $1)" ]; then
|
||||||
IFS="$ifs"
|
IFS="$ifs"
|
||||||
return 1;
|
return 1;
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user