Silence a warning about empty directories in all the places it might
occur. Reminded by: yar
This commit is contained in:
parent
019cd8e648
commit
0868a57db0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user