diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-22T13·59+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-09-22T13·59+0200 |
commit | 4bd51d74af34cc0014cd1b2dd0dd105e379e9770 (patch) | |
tree | 9e5232ebbc73abbc66db42ffbeea46aeab3908e5 | |
parent | bbe2811a106b61aed1c69033ddcb29a175133bdc (diff) |
Handle the case where signed-binary-caches consists of whitespace
-rw-r--r-- | src/libstore/local-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index d2360a9c5836..7cd84d03d4a8 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -44,7 +44,7 @@ LocalStore::LocalStore(const Params & params) , reservedPath(dbDir + "/reserved") , schemaPath(dbDir + "/schema") , trashDir(realStoreDir + "/trash") - , requireSigs(settings.get("signed-binary-caches", std::string("")) != "") // FIXME: rename option + , requireSigs(trim(settings.get("signed-binary-caches", std::string(""))) != "") // FIXME: rename option , publicKeys(getDefaultPublicKeys()) { auto state(_state.lock()); |