They did. A good number of pilots do carry but their not going get involved in a passenger donnybrook. Their firearms are only to protect the cockpit. And rightly so.
According to the article the guy tried to get into the cockpit. I know cockpit doors are now reinforced. But I do wonder what kind of reception pilots had planned for him had he succeeded.