This commit is contained in:
Joey Hess 2012-05-02 11:43:30 -04:00
parent 5337c4e0c4
commit 913775410b
2 changed files with 7 additions and 3 deletions

View file

@ -58,7 +58,7 @@ rsyncUrlIsShell s
| "rsync://" `isPrefixOf` s = False
| otherwise = go s
where
-- host:dir is rsync protocol, while host/dir is ssh/rsh
-- host::dir is rsync protocol, while host:dir is ssh/rsh
go [] = False
go (c:cs)
| c == '/' = False -- got to directory with no colon