summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/src/cmd/exportfs/exportsrv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/exportfs/exportsrv.c b/sys/src/cmd/exportfs/exportsrv.c
index ec636081d..67b643253 100644
--- a/sys/src/cmd/exportfs/exportsrv.c
+++ b/sys/src/cmd/exportfs/exportsrv.c
@@ -639,6 +639,8 @@ openmount(int sfd)
arg[3] = nil;
exec(arg[0], arg);
+ arg[0] = "/bin/exportfs";
+ exec(arg[0], arg);
_exits("whoops: exec failed");
return -1;
}