summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules/any_conf.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/modules/any_conf.pm b/perl-install/modules/any_conf.pm
index 7c2bcc0a8..e3bbb318c 100644
--- a/perl-install/modules/any_conf.pm
+++ b/perl-install/modules/any_conf.pm
@@ -103,6 +103,7 @@ sub remove_alias_regexp_byname {
sub remove_module {
my ($conf, $module) = @_;
+ return if !$module;
$module = $conf->mapping($module);
substInFile {
undef $_ if /^$module/;