avoid commenting on a blank configsh setting.

git-svn-id: http://emdebian.org/svn/current@8458 563faec7-e20c-0410-992a-a66f704d0ccd
main
codehelp 11 years ago
parent fdfa6bac60
commit c6084fbc2a

@ -1151,9 +1151,12 @@ sub cascade {
if (defined $keys{$section}{'tarballname'} and (not defined $tgzname));
chomp($tgzname) if (defined $tgzname);
undef $tgzname if (defined $tgzname and $tgzname eq '');
if ((defined $configsh) and ($configsh eq '')) {
undef $configsh
}
if ((defined $configsh) and (not -x $configsh)) {
undef $configsh;
my $configmsg = sprintf (_g("INF: '%s' exists but is not executable - ignoring.\n"), $configsh);
undef $configsh;
warn $configmsg;
$warn_count++;
}

Loading…
Cancel
Save