if  -eq  type error and exit 1