Fixed exit codes in PS1