rewrite to use of the new implementation of mount config
(asibfm700_config.h: Asibfm700MountConfiguration class)
This commit is contained in:
@@ -64,12 +64,17 @@ int main(int argc, char* argv[])
|
||||
return 0;
|
||||
}
|
||||
|
||||
asibfm700::Asibfm700MountConfig mount_cfg;
|
||||
// asibfm700::Asibfm700MountConfig mount_cfg;
|
||||
asibfm700::Asibfm700MountConfiguration mount_cfg;
|
||||
|
||||
std::string fname = opt_result["dump"].as<std::string>();
|
||||
if (fname.size()) {
|
||||
bool ok = mount_cfg.dumpDefaultsToFile(fname);
|
||||
if (!ok) {
|
||||
// bool ok = mount_cfg.dumpDefaultsToFile(fname);
|
||||
// if (!ok) {
|
||||
// return 255;
|
||||
// }
|
||||
auto err = mount_cfg.dumpDefaultsToFile(fname);
|
||||
if (!err) {
|
||||
return 255;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user