assistant: Fix syncing to just created ssh remotes.

This got broken when I optimised reconnecting with remotes, to not do a
full scan if the remote was not diverged.
This commit is contained in:
Joey Hess 2012-12-06 17:15:45 -04:00
parent 551924e6be
commit 501ec95a27
2 changed files with 2 additions and 0 deletions

View file

@ -174,4 +174,5 @@ syncNewRemote remote = do
updateSyncRemotes
thread <- asIO $ do
reconnectRemotes False [remote]
addScanRemotes True [remote]
void $ liftIO $ forkIO $ thread