diff options
-rw-r--r-- | sh/gendepends.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/gendepends.sh.in b/sh/gendepends.sh.in index 806c79bb..5c555ade 100644 --- a/sh/gendepends.sh.in +++ b/sh/gendepends.sh.in @@ -48,7 +48,7 @@ do cd "${_dir}" for RC_SERVICE in *; do - [ -x "${RC_SERVICE}" ] || continue + [ -x "${RC_SERVICE}" -a -f "${RC_SERVICE}" ] || continue # Only generate dependencies for runscripts read one two < "${RC_SERVICE}" |