let victims = [ p | (p, True) <- result_pairs ]
let imported_count = length victims
report_info $ "Imported " ++ (show imported_count) ++ " document(s) total."
- mapM_ (kill True) victims
+ when (remove cfg) $ mapM_ (kill True) victims
where
-- | Wrap these two actions into one function so that we don't