Corrected exit code to use os constant