aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mount.c')
-rw-r--r--lib/mount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mount.c b/lib/mount.c
index 05dcb59..a84dbee 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -91,7 +91,11 @@ int fuse_mount(const char *mountpoint, const char *opts)
return -1;
}
+#ifndef USE_UCLIBC
pid = fork();
+#else
+ pid = vfork();
+#endif
if(pid == -1) {
perror("fuse: fork() failed");
close(fds[0]);