summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-02 19:08:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-02 19:08:09 +0000
commite70b108df25fc8ae329b6cbad819b766f50fa22e (patch)
tree8566beb905a220a8a884835d260b7caefab52320 /perl-install/standalone
parent2361cb46ce49002e036bbd8fba452355e64af707 (diff)
downloaddrakx-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar
drakx-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar.gz
drakx-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar.bz2
drakx-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar.xz
drakx-e70b108df25fc8ae329b6cbad819b766f50fa22e.zip
fix dropping samba sections which don't have any "path="
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/fileshareset2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/fileshareset b/perl-install/standalone/fileshareset
index 8013477aa..d74930e35 100755
--- a/perl-install/standalone/fileshareset
+++ b/perl-install/standalone/fileshareset
@@ -281,7 +281,7 @@ sub read {
#- first line in the category
my ($label) = $s =~ /^\s*\[(.*)\]/;
my ($mntpoint) = $s =~ /^\s*path\s*=\s*(.*)/m;
- push @l, { mntpoint => $mntpoint, raw => $s, label => $label } if $label && $mntpoint;
+ push @l, { mntpoint => $mntpoint, raw => $s, label => $label };
$s = '';
}
$s .= $_;