diff --git a/iocore/cache/Store.cc b/iocore/cache/Store.cc index 4788c4e305c..36f3422b732 100644 --- a/iocore/cache/Store.cc +++ b/iocore/cache/Store.cc @@ -391,12 +391,7 @@ Store::read_config() } } - std::string pp; - if (get_runroot().empty()) { - pp = Layout::get()->relative(path); - } else { - pp = Layout::get()->cachedir; - } + std::string pp = Layout::get()->relative(path); ns = new Span; Debug("cache_init", "Store::read_config - ns = new Span; ns->init(\"%s\",%" PRId64 "), forced volume=%d%s%s", pp.c_str(), size,