rework makefiles + install mount tools

This commit is contained in:
Antonio SJ Musumeci 2020-02-21 08:01:49 -05:00
parent 2f769e75c4
commit 5ce428ca59
6 changed files with 70 additions and 46 deletions

View file

@ -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();

View file

@ -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)