summaryrefslogtreecommitdiff
path: root/CmdLine.hs
diff options
context:
space:
mode:
Diffstat (limited to 'CmdLine.hs')
-rw-r--r--CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CmdLine.hs b/CmdLine.hs
index b8fd6af7c..0698f2f5e 100644
--- a/CmdLine.hs
+++ b/CmdLine.hs
@@ -99,7 +99,7 @@ startup = do
shutdown :: Annex Bool
shutdown = do
q <- Annex.getState Annex.repoqueue
- unless (q == GitQueue.empty) $ do
+ unless (0 == GitQueue.size q) $ do
showSideAction "Recording state in git..."
Annex.queueRun