summaryrefslogtreecommitdiff
path: root/Command/Upgrade.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Upgrade.hs')
-rw-r--r--Command/Upgrade.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/Upgrade.hs b/Command/Upgrade.hs
index c02a6709f..8a34022e3 100644
--- a/Command/Upgrade.hs
+++ b/Command/Upgrade.hs
@@ -13,6 +13,7 @@ import Upgrade
cmd :: Command
cmd = dontCheck repoExists $ -- because an old version may not seem to exist
+ noDaemonRunning $ -- avoid upgrading repo out from under daemon
command "upgrade" SectionMaintenance "upgrade repository layout"
paramNothing (withParams seek)