summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-31 12:20:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-31 12:20:31 -0400
commit1efb0d109ee425b53b76e92ee69c5ec7bf6cf979 (patch)
tree383522722b1956b8208ce9e2348a4353e1c9c6be /Command
parent04794eafc0f0fd09e645247136fe557fd80bfb55 (diff)
don't start webapp when in a git repo that has not been git-annex initted
Maybe later it can prompt if they want to use the repo with git-annex, but for now this is a sane easy choice.
Diffstat (limited to 'Command')
-rw-r--r--Command/WebApp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/WebApp.hs b/Command/WebApp.hs
index 6755763b3..a3294911f 100644
--- a/Command/WebApp.hs
+++ b/Command/WebApp.hs
@@ -21,7 +21,7 @@ import qualified Command.Watch
import Control.Concurrent.STM
def :: [Command]
-def = [oneShot $ noRepo firstRun $ dontCheck repoExists $
+def = [oneShot $ noRepo firstRun $
withOptions [Command.Watch.foregroundOption, Command.Watch.stopOption] $
command "webapp" paramNothing seek "launch webapp"]