mirror of
https://github.com/ksherlock/profuse.git
synced 2025-01-11 14:29:59 +00:00
daemonize
git-svn-id: https://profuse.googlecode.com/svn/branches/v2@276 aa027e90-d47c-11dd-86d7-074df07e0730
This commit is contained in:
parent
0d8ca19a1a
commit
fdd622535b
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user