reverse source and destination mount points to match fstab requirements. closes #13

This commit is contained in:
Antonio SJ Musumeci
2014-06-05 07:30:04 -04:00
parent 645c823778
commit 45a2e09fbe
2 changed files with 27 additions and 11 deletions
+3 -8
View File
@@ -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: