git annex webapp --force forces a restart of the daemon

Useful for testing..
This commit is contained in:
Joey Hess 2012-07-26 11:52:49 -04:00
parent c4830aaa6c
commit cccdb44874
3 changed files with 13 additions and 6 deletions

View file

@ -84,7 +84,7 @@ checkDaemon pidfile = do
| otherwise = error $
"stale pid in " ++ pidfile ++
" (got " ++ show pid' ++
"; expected" ++ show pid ++ " )"
"; expected " ++ show pid ++ " )"
{- Stops the daemon, safely. -}
stopDaemon :: FilePath -> IO ()