Add missing check for sigaction