diff options
Diffstat (limited to 'core/bin/setup_target')
-rwxr-xr-x | core/bin/setup_target | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bin/setup_target b/core/bin/setup_target index 5ad316b4..4ea9b824 100755 --- a/core/bin/setup_target +++ b/core/bin/setup_target @@ -352,7 +352,7 @@ scan_target() { [ -L "$item" ] || continue base="$( basename "$item" )" real="$( readlink -f "$item" )" - if [ -s "$item/module.conf" ]; then + if [ -f "$item/module.conf" ]; then if [ -n "${MODULE_PATHS["$base"]}" ] \ && [ "${MODULE_PATHS["$base"]}" != "$real" ]; then perror "$base exists in multiple sub-targets and links to different modules\n1: $real\n2: ${MODULE_PATHS["$base"]}" |