summaryrefslogtreecommitdiff
path: root/Command/WebApp.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/WebApp.hs')
-rw-r--r--Command/WebApp.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/WebApp.hs b/Command/WebApp.hs
index 205e36341..f87ea983a 100644
--- a/Command/WebApp.hs
+++ b/Command/WebApp.hs
@@ -75,7 +75,7 @@ startNoRepo = do
autoStart :: FilePath -> IO ()
autoStart autostartfile = do
- dirs <- lines <$> readFile autostartfile
+ dirs <- nub . lines <$> readFile autostartfile
edirs <- filterM doesDirectoryExist dirs
case edirs of
[] -> firstRun -- what else can I do? Nothing works..