@Critter said:
In UNIX shell scripting, 0 is true and all other values are false. This is because programs return non-zero values when they die horribly, and zero when they pass away peacefully. This allows the program to offer some additional info about just how horribly it died in its specific selection of exit code.
Ok I wasn't aware of that. But this isn't a project based upon Unix shell scripting. This is a .Net project, and you would think that when they coded things they would realize they got thing backwards. They had to invert all the if logic when testing upon the data from the database.