mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
reverse source and destination mount points to match fstab requirements. closes #13
This commit is contained in:
parent
645c823778
commit
45a2e09fbe
2 changed files with 27 additions and 11 deletions
|
|
@ -134,15 +134,10 @@ option_processor(void *data,
|
|||
break;
|
||||
|
||||
case FUSE_OPT_KEY_NONOPT:
|
||||
if(config.destmount.empty())
|
||||
{
|
||||
rv = 1;
|
||||
config.destmount = arg;
|
||||
}
|
||||
if(config.srcmounts.empty())
|
||||
process_srcmounts(arg,config);
|
||||
else
|
||||
{
|
||||
process_srcmounts(arg,config);
|
||||
}
|
||||
rv = (config.destmount = arg,1);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue