Bug 24153: Add a confirm flag to cleanup_database