mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-12-01 20:36:37 -05:00
rework makefiles + install mount tools
This commit is contained in:
parent
2f769e75c4
commit
5ce428ca59
6 changed files with 70 additions and 46 deletions
|
|
@ -1293,7 +1293,7 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
|
||||
/* Become a daemon and wait for the parent to exit or die.
|
||||
ie For the control socket to get closed.
|
||||
ie For the control socket to get closed.
|
||||
btw We don't want to use daemon() function here because
|
||||
it forks and messes with the file descriptors. */
|
||||
setsid();
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ int main(int argc, char *argv[])
|
|||
else
|
||||
basename = argv[0];
|
||||
|
||||
type = "mergerfs";
|
||||
if (strncmp(basename, "mount.fuse.", 11) == 0)
|
||||
type = basename + 11;
|
||||
if (strncmp(basename, "mount.fuseblk.", 14) == 0)
|
||||
Loading…
Add table
Add a link
Reference in a new issue