Handle the other dtrace failure mode (caused by, eg, providing the wrong pid); start refactoring the main function to be able to do several things
Handle the other dtrace failure mode (caused by, eg, providing the wrong pid); start refactoring the main function to be able to do several things

git-svn-id: 0c33e958600270102f91bf5868e396345dde476c@6093 e27351fd-9f3e-4f54-a53b-843176b1656c

red-hood/calendarserver,red-hood/calendarserver,red-hood/calendarserver,red-hood/calendarserver,red-hood/calendarserver,red-hood/calendarserver