mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
Add option to lazy umount target mount point
This commit is contained in:
parent
9a6b7835f4
commit
9adddfc66d
10 changed files with 103 additions and 9 deletions
|
|
@ -378,7 +378,7 @@ check_for_mount_loop(Config::Write &cfg_,
|
|||
fs::PathVector branches;
|
||||
std::error_code ec;
|
||||
|
||||
mount = (std::string)cfg_->mount;
|
||||
mount = (std::string)cfg_->mountpoint;
|
||||
branches = cfg_->branches->to_paths();
|
||||
for(const auto &branch : branches)
|
||||
{
|
||||
|
|
@ -416,7 +416,7 @@ namespace options
|
|||
|
||||
if(cfg->branches->empty())
|
||||
errs_->push_back({0,"branches not set"});
|
||||
if(cfg->mount->empty())
|
||||
if(cfg->mountpoint->empty())
|
||||
errs_->push_back({0,"mountpoint not set"});
|
||||
|
||||
check_for_mount_loop(cfg,errs_);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue