daemonize

git-svn-id: https://profuse.googlecode.com/svn/branches/v2@276 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
ksherlock 2010-05-24 22:40:28 +00:00
parent 0d8ca19a1a
commit fdd622535b

View File

@ -274,10 +274,9 @@ int main(int argc, char **argv)
se = fuse_lowlevel_new(&args, &pascal_ops, sizeof(pascal_ops), volume.get()); se = fuse_lowlevel_new(&args, &pascal_ops, sizeof(pascal_ops), volume.get());
if (se) do { if (se) do {
foreground = 1;
multithread = 0;
err = fuse_daemonize(foreground); // todo
err = fuse_daemonize(foreground);
if (err < 0 ) break; if (err < 0 ) break;
err = fuse_set_signal_handlers(se); err = fuse_set_signal_handlers(se);