From 356be5524c6a6af5c2fff284043c7797d3e4977d Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 31 Jan 2024 22:44:36 -0600 Subject: [PATCH] branch2.cpp --- config.toml | 2 +- src/branch2.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config.toml b/config.toml index 9b1423af..46b7b830 100644 --- a/config.toml +++ b/config.toml @@ -99,7 +99,7 @@ type = 'literal' path = '/mnt/branch1' mode = 'RW' [[branches.tier.branch]] -active = true +enabled = true path = '/mnt/*' type = 'glob' mode = 'RW' diff --git a/src/branch2.cpp b/src/branch2.cpp index cb993f76..ec10a9f9 100644 --- a/src/branch2.cpp +++ b/src/branch2.cpp @@ -21,8 +21,6 @@ Branch2::Branch2() Branch2::Branch2(toml::value const &v_) : mode(Mode::RW) { - std::cout << v_ << '\n'; - enabled = v_.at("enabled").as_boolean(); mode = Mode::_from_string(toml::find(v_,"mode").c_str()); min_free_space = 0;