Merge pull request #16 from xhaakon/master

Don't remove core_pattern on system shutdown