diff options
Diffstat (limited to 'bpkg/auth.cxx')
-rw-r--r-- | bpkg/auth.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/auth.cxx b/bpkg/auth.cxx index 3fcb24b..d667c01 100644 --- a/bpkg/auth.cxx +++ b/bpkg/auth.cxx @@ -635,7 +635,7 @@ namespace bpkg fail << "--trust-yes and --trust-no are mutually exclusive"; if (conf != nullptr && conf->empty ()) - conf = dir_exists (bpkg_dir) ? ¤t_dir : nullptr; + conf = exists (bpkg_dir) ? ¤t_dir : nullptr; assert (conf == nullptr || !conf->empty ()); @@ -682,7 +682,7 @@ namespace bpkg tracer trace ("authenticate_repository"); if (conf != nullptr && conf->empty ()) - conf = dir_exists (bpkg_dir) ? ¤t_dir : nullptr; + conf = exists (bpkg_dir) ? ¤t_dir : nullptr; assert (conf == nullptr || !conf->empty ()); |