Skip to content

Commit

Permalink
nix copy: Abbreviate "daemon"
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Nov 20, 2017
1 parent 8956ae1 commit 7474ac8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstore/store-api.cc
Expand Up @@ -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});
Expand Down

0 comments on commit 7474ac8

Please sign in to comment.