diff options
Diffstat (limited to 'kernel/list_modules.pm')
-rw-r--r-- | kernel/list_modules.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm index b5359c6f6..7a84cd7ad 100644 --- a/kernel/list_modules.pm +++ b/kernel/list_modules.pm @@ -303,7 +303,7 @@ sub load_dependencies { } sub dependencies_closure { - my @l = map { dependencies_closure($_) } @{$moddeps{$_[0]}{deps} || []}; + my @l = map { dependencies_closure($_) } @{exists $moddeps{$_[0]} && $moddeps{$_[0]}{deps} || []}; (@l, $_[0]); } |