WebDav: Fix enableremote crash when the remote already exists. (Bug introduced in version 5.20140817.)

This commit is contained in:
Joey Hess 2014-09-17 13:04:55 -04:00
parent 2843b17706
commit 9964584c34
2 changed files with 3 additions and 1 deletions

View file

@ -183,7 +183,7 @@ testDav url (Just (u, p)) = do
test $ liftIO $ evalDAVT url $ do
prepDAV user pass
makeParentDirs
inLocation tmpDir $ void mkCol
void $ mkColRecursive tmpDir
inLocation (tmpLocation "git-annex-test") $ do
putContentM (Nothing, L.empty)
delContentM