diff options
author | Antoine Ginies <aginies@mandriva.com> | 2005-08-08 08:52:41 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2005-08-08 08:52:41 +0000 |
commit | 07fd53ae10e9246f6898c25044595054e128c169 (patch) | |
tree | 918cfa241d78d6b38da22f482d96f732793689d6 | |
parent | d7dacc1beeddce232e79f5d4a7b114f2a84816a5 (diff) | |
download | drakx-07fd53ae10e9246f6898c25044595054e128c169.tar drakx-07fd53ae10e9246f6898c25044595054e128c169.tar.gz drakx-07fd53ae10e9246f6898c25044595054e128c169.tar.bz2 drakx-07fd53ae10e9246f6898c25044595054e128c169.tar.xz drakx-07fd53ae10e9246f6898c25044595054e128c169.zip |
fix bug #17255 (modify empty /etc/exports file)
-rw-r--r-- | perl-install/standalone/draknfs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/draknfs b/perl-install/standalone/draknfs index 5d5efc115..ac05b0ef9 100644 --- a/perl-install/standalone/draknfs +++ b/perl-install/standalone/draknfs @@ -303,6 +303,7 @@ sub add_modify_entry { if ($wanted =~ /modify/) { $iter = $selection->get_selected; + $iter or info_dialog(N("Error"), N("Please add an NFS share to be able to modify it.")) and return; my $path = $model->get_path($iter); $i = ($path->get_indices)[0]; $dir->set_text($listshare[$i]{dir}); |