summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarlosg <carlosg>2006-11-15 18:35:26 +0000
committercarlosg <carlosg>2006-11-15 18:35:26 +0000
commit909c5eadd4f7d845116613e70fe93b3130e95929 (patch)
tree84534420b951bf10e9882b326f516762b5d7dbb7
parent199f9ed75de138b4d996e275932778e094a59d93 (diff)
2006-11-15 Carlos Garnacho <carlosg@gnome.org>
* Shares/NFS.pm (get_share_client_info): Do not reset $rw if it finds other NFS share options.
-rw-r--r--ChangeLog5
-rw-r--r--Shares/NFS.pm2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4d5daed..933660b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-11-15 Carlos Garnacho <carlosg@gnome.org>
+ * Shares/NFS.pm (get_share_client_info): Do not reset $rw if it finds
+ other NFS share options.
+
+2006-11-15 Carlos Garnacho <carlosg@gnome.org>
+
* Utils/Parse.pm (get_from_chatfile):
* Utils/Replace.pm (set_chat): Fix infinite loop if the chatscript
contains tabs. Fixes GNOME Bug #343193 (Kris Shannon)
diff --git a/Shares/NFS.pm b/Shares/NFS.pm
index 1a6d48a..64e52ba 100644
--- a/Shares/NFS.pm
+++ b/Shares/NFS.pm
@@ -46,7 +46,7 @@ sub get_share_client_info
for $option (@options)
{
- $rw = ($option eq "rw") ? 1 : 0;
+ $rw = 1 if ($option eq "rw");
# Add supported NFS export options here. Some might have to be split on '='.
}
}