Pass share as a parameter, don't log attempt if sharing.