From 2412b7e6896b967bb3f8ec8cf5e6ccf3094a3ad1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Nov 2011 19:29:35 -0400 Subject: [PATCH] fix exit status so json gets terminated properly --- Command/Status.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/Status.hs b/Command/Status.hs index 39d9400fbd..2d59965072 100644 --- a/Command/Status.hs +++ b/Command/Status.hs @@ -76,7 +76,7 @@ start = do fast <- Annex.getState Annex.fast let stats = if fast then fast_stats else fast_stats ++ slow_stats evalStateT (mapM_ showStat stats) (StatInfo Nothing Nothing) - stop + next $ next $ return True stat :: String -> StatState String -> Stat stat desc a = return $ Just (desc, a)