return status of scan to allow failure detection