mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-04-21 12:31:43 +00:00
reverse source and destination mount points to match fstab requirements. closes #13
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user