From 0fca41fa048967bb1926e956b203e9c562490b4c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 19 Feb 2002 21:43:14 +0000 Subject: ugly hack to fix die --- perl-install/diskdrake/smbnfs_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/diskdrake/smbnfs_gtk.pm') 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}} = $_; -- cgit v1.2.1