Silence a warning about empty directories in all the places it might

occur.

Reminded by: yar
This commit is contained in:
Doug Barton 2005-12-10 20:19:08 +00:00
parent 019cd8e648
commit 0868a57db0

View File

@ -1380,7 +1380,7 @@ find_local_scripts_new () {
local_rc=''
for dir in ${local_startup}; do
if [ -d "${dir}" ]; then
for file in `grep -l '^# PROVIDE:' ${dir}/*`; do
for file in `grep -l '^# PROVIDE:' ${dir}/* 2>/dev/null`; do
case "$file" in
*.sample) ;;
*) if [ -x "$file" ]; then