Fix error return from adminConnect()