summaryrefslogtreecommitdiffstats
path: root/bin/draknfs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/draknfs')
-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);