Teach _exit() to return 1st parameter, replace exit calls by _exit and move trap to start of main block
Teach _exit() to return 1st parameter, replace exit calls by _exit and move trap to start of main block

phil-davis/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,dennypage/pfsense,phil-davis/pfsense,pfsense/pfsense,pfsense/pfsense,brunostein/pfsense,phil-davis/pfsense,dennypage/pfsense,pfsense/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,ch1c4um/pfsense,phil-davis/pfsense,NOYB/pfsense,pfsense/pfsense,BlackstarGroup/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,brunostein/pfsense,NOYB/pfsense,brunostein/pfsense,dennypage/pfsense,NewEraCracker/pfsense,dennypage/pfsense,jxmx/pfsense,ch1c4um/pfsense,ptorsten/pfsense,NOYB/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,BlackstarGroup/pfsense,NewEraCracker/pfsense,jxmx/pfsense,jxmx/pfsense