summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <nvigier@mandriva.com>2007-10-02 18:11:55 +0000
committerNicolas Vigier <nvigier@mandriva.com>2007-10-02 18:11:55 +0000
commit2e3c64322b53561835c337ec437c64868a71fda9 (patch)
tree9e37bc248cab250c755e70f2fde31749d191a980
parentdbadd33112511fef8d2fb06bc5dc7cf3cb348825 (diff)
downloaddrakx-net-distro/mdv2007.1.tar
drakx-net-distro/mdv2007.1.tar.gz
drakx-net-distro/mdv2007.1.tar.bz2
drakx-net-distro/mdv2007.1.tar.xz
drakx-net-distro/mdv2007.1.zip
fix bug #31442distro/mdv2007.1
-rw-r--r--bin/draknfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/draknfs b/bin/draknfs
index 23a1740..5c1f2cd 100644
--- a/bin/draknfs
+++ b/bin/draknfs
@@ -294,7 +294,7 @@ sub add_modify_entry {
if ($opt =~ m/(\bro\b|\brw\b)/) {
if ($opt =~ /ro/) { $lr->set_text("yes") } else { $lr->set_text("no") }
} elsif ($opt =~ m/\bsync\b|\basync\b/) {
- if ($opt =~ /sync/) { $lsync->set_text("yes") } else { $lsync->set_text("no") }
+ if ($opt =~ /async/) { $lsync->set_text("no") } else { $lsync->set_text("yes") }
} elsif ($opt =~ m/anongid=(\d+)/) {
my $gdata = get_data_from_id($1, 'group') . " [$1]";
$anongid->set_text($gdata);