Fix bug 965923 - only trap supported signals