From bbf2c31aa706daaa6a26fa8b1f276ef75c73f373 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Oct 2012 12:14:23 -0400 Subject: [PATCH] better message --- Command/WebApp.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/WebApp.hs b/Command/WebApp.hs index 702506d344..c14795b5e9 100644 --- a/Command/WebApp.hs +++ b/Command/WebApp.hs @@ -59,7 +59,7 @@ start' allowauto = notBareRepo $ do | allowauto = liftIO startNoRepo | otherwise = do d <- liftIO getCurrentDirectory - error $ "no repository for " ++ d + error $ "no git repository in " ++ d checkpid = do pidfile <- fromRepo gitAnnexPidFile liftIO $ isJust <$> checkDaemon pidfile