better message
This commit is contained in:
parent
eca1629ce2
commit
bbf2c31aa7
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ start' allowauto = notBareRepo $ do
|
||||||
| allowauto = liftIO startNoRepo
|
| allowauto = liftIO startNoRepo
|
||||||
| otherwise = do
|
| otherwise = do
|
||||||
d <- liftIO getCurrentDirectory
|
d <- liftIO getCurrentDirectory
|
||||||
error $ "no repository for " ++ d
|
error $ "no git repository in " ++ d
|
||||||
checkpid = do
|
checkpid = do
|
||||||
pidfile <- fromRepo gitAnnexPidFile
|
pidfile <- fromRepo gitAnnexPidFile
|
||||||
liftIO $ isJust <$> checkDaemon pidfile
|
liftIO $ isJust <$> checkDaemon pidfile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue