Revision 62d5b25f trunk/Pithos.Core/PithosMonitor.cs

b/trunk/Pithos.Core/PithosMonitor.cs
503 503
                    let relativePath = _accountInfo.StorageUri
504 504
                        .MakeRelativeUri(uri)
505 505
                        .RelativeUriToFilePath()
506
                    select Path.Combine(RootPath, relativePath)).ToList();
506
                        //Trim the account name
507
                    select Path.Combine(RootPath, relativePath.After(_accountInfo.UserName + '\\'))).ToList();            
507 508
        }
508 509

  
509 510
        /// <summary>
......
517 518

  
518 519
            foreach (var removedPath in removed.Where(Directory.Exists))
519 520
            {
520
                Directory.Delete(removedPath,true);
521
                try
522
                {
523
                    Directory.Delete(removedPath, true);
524
                }
525
                catch { }
521 526
            }
522 527

  
523 528
            //Ensure we remove any file state below the deleted folders

Also available in: Unified diff