Has anyone ever had an interview so bad that you decided to leave before it ended? It seems like you shouldn't do this out of professional courtesy, even if the interviewer is rude or the job is clearly a waste of time. But sometimes it's hard.
At one interview I had for a sysadmin position, the hiring manager said they pirate MS software because MS "will never know". I didn't leave, although it was tough to stay. The interview didn't last much longer anyway.

At another interview for a similar position, the HR person was over 30 minutes late. She eventually arrived and described the position. Certain aspects of it were undesirable, but I still agreed to speak with the hiring manager, so the HR person left me in the lobby to get the hiring manager. After waiting for another 30 minutes, the HR person came back and said the hiring manager was running late and would be available in 20 minutes.

This time I cut my losses and excused myself.