From c81594f4706710fe72e6b2f413b54c536f71405a Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 17 Oct 2017 13:00:38 -0500 Subject: [PATCH] hydra-queue-runner: ensure roots directory exists Fixes #513 --- src/hydra-queue-runner/hydra-queue-runner.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hydra-queue-runner/hydra-queue-runner.cc b/src/hydra-queue-runner/hydra-queue-runner.cc index 4d0ec169..e85c90c0 100644 --- a/src/hydra-queue-runner/hydra-queue-runner.cc +++ b/src/hydra-queue-runner/hydra-queue-runner.cc @@ -105,6 +105,8 @@ State::State() printMsg(lvlError, "hydra.conf: binary_cache_s3_bucket is deprecated and ignored. use store_uri=s3:// instead"); if (config->getStrOption("binary_cache_secret_key_file") != "") printMsg(lvlError, "hydra.conf: binary_cache_secret_key_file is deprecated and ignored. use store_uri=...?secret-key= instead"); + + createDirs(rootsDir); }