aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/config_parser.cpp
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2019-12-12 08:46:07 -0600
committerBrent Stapleton <brent.stapleton@ettus.com>2019-12-17 11:24:15 -0800
commit8fab267ea6ff0a77fd0689cc90689a3850c2ec74 (patch)
treeea0c9c0091d6bd919ea83ccd19a1501ba5f2afa3 /host/lib/utils/config_parser.cpp
parentc4d9c9abb2e2e9895b0f2d793208fee021f35f5f (diff)
downloaduhd-8fab267ea6ff0a77fd0689cc90689a3850c2ec74.tar.gz
uhd-8fab267ea6ff0a77fd0689cc90689a3850c2ec74.tar.bz2
uhd-8fab267ea6ff0a77fd0689cc90689a3850c2ec74.zip
prefs: Output debug trace when config file cannot be located or loaded
Diffstat (limited to 'host/lib/utils/config_parser.cpp')
-rw-r--r--host/lib/utils/config_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/utils/config_parser.cpp b/host/lib/utils/config_parser.cpp
index dfd8d1b8b..c46671623 100644
--- a/host/lib/utils/config_parser.cpp
+++ b/host/lib/utils/config_parser.cpp
@@ -13,7 +13,7 @@ using namespace uhd;
config_parser::config_parser(const std::string &path)
{
- if (not path.empty() and boost::filesystem::exists(path)) {
+ if (not path.empty()) {
try {
boost::property_tree::ini_parser::read_ini(path, _pt);
} catch (const boost::property_tree::ini_parser_error &) {