aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index 3631e1b30..8146513a4 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -577,9 +577,9 @@ void copyStorePath(ref<Store> srcStore, ref<Store> dstStore,
auto dstUri = dstStore->getUri();
Activity act(*logger, lvlInfo, actCopyPath,
- srcUri == "local"
+ srcUri == "local" || srcUri == "daemon"
? fmt("copying path '%s' to '%s'", storePath, dstUri)
- : dstUri == "local"
+ : dstUri == "local" || dstUri == "daemon"
? fmt("copying path '%s' from '%s'", storePath, srcUri)
: fmt("copying path '%s' from '%s' to '%s'", storePath, srcUri, dstUri),
{storePath, srcUri, dstUri});