skip non-directories in status
This commit is contained in:
parent
fdf098db31
commit
0deb0a9658
1 changed files with 3 additions and 1 deletions
|
@ -68,8 +68,10 @@ start [] = do
|
|||
globalStatus
|
||||
stop
|
||||
start ps = do
|
||||
mapM_ localStatus ps
|
||||
mapM_ localStatus =<< filterM isdir ps
|
||||
stop
|
||||
where
|
||||
isdir = liftIO . catchBoolIO . (isDirectory <$$> getFileStatus)
|
||||
|
||||
globalStatus :: Annex ()
|
||||
globalStatus = do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue