summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-19 21:43:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-19 21:43:14 +0000
commit0fca41fa048967bb1926e956b203e9c562490b4c (patch)
treef1d931cb8a7db55f22661c9c875be2b4a221dad1 /perl-install
parentab0a28df85e35bf31f666afdacf27bf8a8042048 (diff)
downloaddrakx-0fca41fa048967bb1926e956b203e9c562490b4c.tar
drakx-0fca41fa048967bb1926e956b203e9c562490b4c.tar.gz
drakx-0fca41fa048967bb1926e956b203e9c562490b4c.tar.bz2
drakx-0fca41fa048967bb1926e956b203e9c562490b4c.tar.xz
drakx-0fca41fa048967bb1926e956b203e9c562490b4c.zip
ugly hack to fix die
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/diskdrake/smbnfs_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/smbnfs_gtk.pm b/perl-install/diskdrake/smbnfs_gtk.pm
index fbeeb5515..4ceba721a 100644
--- a/perl-install/diskdrake/smbnfs_gtk.pm
+++ b/perl-install/diskdrake/smbnfs_gtk.pm
@@ -154,7 +154,7 @@ sub import_ctree {
my $add_exports = sub {
my ($node) = @_;
$tree->expand($node);
- foreach ($kind->find_exports($wservers{$node->{_gtk}} || die '')) {
+ foreach ($kind->find_exports($wservers{$node->{_gtk}} || return)) { #- can't die here since insert_node provoque a tree_select_row before the %wservers is filled
my $w = $tree->insert_node($node, undef, [$kind->to_string($_)], 5, (undef) x 4, 1, 0);
set_export_icon(find_fstab_entry($kind, $_), $w);
$wexports{$w->{_gtk}} = $_;