Fixed return value for shell exit.