diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-02-02 19:08:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-02-02 19:08:09 +0000 |
commit | e70b108df25fc8ae329b6cbad819b766f50fa22e (patch) | |
tree | 8566beb905a220a8a884835d260b7caefab52320 | |
parent | 2361cb46ce49002e036bbd8fba452355e64af707 (diff) | |
download | drakx-backup-do-not-use-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar drakx-backup-do-not-use-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar.gz drakx-backup-do-not-use-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar.bz2 drakx-backup-do-not-use-e70b108df25fc8ae329b6cbad819b766f50fa22e.tar.xz drakx-backup-do-not-use-e70b108df25fc8ae329b6cbad819b766f50fa22e.zip |
fix dropping samba sections which don't have any "path="
-rwxr-xr-x | perl-install/standalone/fileshareset | 2 |
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 .= $_; |