Merge pull request #229 into master

9735317a container: plugins: root: fix example3()'s shell (Aaron Fiore)
This commit is contained in:
2025-10-28 12:07:07 -07:00

View File

@@ -122,7 +122,10 @@ void example3()
auto exec_cmd = [&make_cmd](const std::string& cmd) { auto exec_cmd = [&make_cmd](const std::string& cmd) {
// shell 0 = success // shell 0 = success
THROW_IF(common::exec(make_cmd(cmd)), std::runtime_error, "command failed") THROW_IF(
common::exec("bash -i -c '" + make_cmd(cmd) + "'"),
std::runtime_error,
"command failed")
}; };
std::cout << "\nImporting journals...\n"; std::cout << "\nImporting journals...\n";